The new-folder command creates a new directory along with any subsequent subdirectories within the Block Storage.

JSON Input Data Format
{
    "id": string,
    "name": string,
    "path": string,
    "cloudid": string
}
id * Specifies the ID of the Block Storage.
name * Specifies the name of the Block Storage.
path * Specifies the path to the folder that will be created. For example: If you specify "/myfolder", then the "/myfolder" directory is created. If you specify "/myfolder/subfolder1/subfolder2", then all three directories are subsequently created.
cloudid * Specifies the cloud ID hosting the Block Storage.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}