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

JSON Input Data Format
{
    "id": string,
    "name": string,
    "path": string,
    "cloudid": string
}
cloudid * Specifies the {ANYNODE} ID hosting the bucket.
id * Specifies the ID of the bucket.
name * Specifies the name of the bucket.
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.
* 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 ..."
}