The delete-folder command is used to delete a folder in the code space of a function.

JSON Input Data Format
{
    "id": string,
    "path": string
}
id * Specifies the ID of the Serverless.
path * Specifies the path to the folder that will be deleted.
* 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 ..."
}