Delete directory / ies

Deleting a directory will recursively delete all sub-directories.

Delete single directory

DELETE /dir/{dir_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/dir/{dir_uuid}' headers: X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca variables: dir_uuid: 565c65f0-223f-5a35-adf1-f71d24c851e4 theme: clouds-midnight editor_theme: clouds_midnight method: DELETE render: curl_tab: true

Response

{
    "status":"success",
    "action":"directory_deleted",
    "dir_uuid": "565c65f0-223f-5a35-adf1-f71d24c851e4"
}

Delete multiple directories

DELETE /directories

Body

{
    "dirs_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/directories headers: X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca theme: clouds-midnight editor_theme: clouds_midnight method: DELETE body: | { "dirs_uuids": [ "5b3cf978-b379-5ab7-99b9-6177e8350000" ] } render: curl_tab: true

Response

{
    "status":"success",
    "action":"directories_deleted",
    "dirs_uuids": [
        "4045f60e-8a91-5039-bb4e-3d3d247056e9"
    ]
}