Delete folders

Deleting a folder will recursively delete all sub-folders.

Delete a single folder

DELETE /v4/folder/{folder_uuid}

API permissions

DIR_DELETE

Try it out

Request

Copy-paste the cURL request in your Terminal or click on the API Explorer tab to see the API in action.

host: 'https://api.filerobot.com' path: '/fusqadtm/v4/folder/{folder_uuid}' headers: X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca variables: folder_uuid: 88c03bb7-4024-5884-b8fd-069b41d2f687 theme: clouds-midnight editor_theme: clouds_midnight method: DELETE render: curl_tab: true

Response

{
    "status": "success",
    "action": "folder_deleted",
    "folder_uuid": "88c03bb7-4024-5884-b8fd-069b41d2f687"
}

Delete multiple folders

DELETE /v4/folders

Body

{
    "folders_uuids": [
        "4045f60e-8a91-5039-bb4e-3d3d247056e9",
        ...
    ]
}

Try it out

Request

Copy-paste the cURL request in your Terminal or click on the API Explorer tab to see the API in action.

host: 'https://api.filerobot.com' path: /fusqadtm/v4/folders headers: X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca theme: clouds-midnight editor_theme: clouds_midnight method: DELETE body: | { "folders_uuids": [ "01211fa2-083b-5316-99f7-d4d66c4f2ddb" ] } render: curl_tab: true

Response

{
    "status": "success",
    "action": "folders_deleted",
    "folder_uuids": [
        "01211fa2-083b-5316-99f7-d4d66c4f2ddb"
    ]
}