Delete multiple directories and files

DELETE /objects

Body

{
    "dirs_uuids": [
        "4045f60e-8a91-5039-bb4e-3d3d247056e9",
        ...
    ],
    "files_uuids": [
        "247056e9-8a91-5039-bb4e-3d3d4045f60e",
        ...
    ],
    "items": [
        // Mix of dir_uuid and file_uuid
    ]
}

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

Response

{
    "status":"success",
    "action":"items_deleted",
    "dirs_uuids": [
        "4045f60e-8a91-5039-bb4e-3d3d247056e9"
    ],
    "file_uuids": [
        "4b630002-ec1f-4bd6-84ee-1c9454aa811f"
    ],
    "items": [
        "4045f60e-8a91-5039-bb4e-3d3d247056e9",
        "4b630002-ec1f-4bd6-84ee-1c9454aa811f"
    ]
}