deleteFolder
Deletes a folder from the project based on path. A SOAP error envelope is returned if the operation fails.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
folderPath | string | Full path to the folder. Do not include a trailing slash (e.g. /Public/folder A/folder a). |
Return value
Value | Type | Notes |
---|---|---|
result | int | 0 indicates success. Check the return value in case of an error. |
Example
ttsdk.deleteFolder(cookie, "/Public/test folder 1/test folder a");