DeleteFolder(folderPath) Last updated: 16. May 2023
API only function
Deletes a specified folder.
Parameters
Name | Type | Description |
---|---|---|
folderPath | string | Absolute path to the folder you want to delete. |
Returns
Boolean, true if deleted otherwise false.
Example
Code example (JS)
JS is normal JavaScript either running in the browser or on the Docly™ server.if (docly.deleteFolder("Folder1"))
{
write("Folder deleted successful!");
}