The delete-folder command is used to delete a folder from the repository.

JSON Input Data Format
{
    "id": string,
    "branch": string,
    "path": string
}
id * Specifies the ID of the repository.
branch * Specifies the name of the branch.
path * Specifies the path of the folder. For example: /build.
* 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 ..."
}