Delete file(s)

Delete single file

DELETE /file/{file_uuid}

API Permissions

FILE_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/file/6152b020-cde2-5a86-b145-d02505850000' headers: X-Filerobot-Key: bf72d18393ea40d5b4fccd9fb83806fa theme: clouds-midnight editor_theme: clouds_midnight method: DELETE render: curl_tab: true

Response

{
    "status":"success",
    "action":"file_deleted",
    "file_uuid": "6152b020-cde2-5a86-b145-d02505850000"
}

Delete multiple files

DELETE /files

API Permissions

FILE_DELETE

Body

{
    "files_uuids": [
        "4045f60e-8a91-5039-bb4e-3d3d247056e9",
        "f0a1bb1e-fe89-412d-9def-1efd1b08078a",
        ...
    ]
}

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/files headers: X-Filerobot-Key: bf72d18393ea40d5b4fccd9fb83806fa theme: clouds-midnight editor_theme: clouds_midnight method: DELETE body: | { "files_uuids": [ "2addc5dc-867b-5a4f-860f-83e567550000", "9014b90f-64b5-584d-8b90-f23016c50000" ] } render: curl_tab: true

Response

{
    "status":"success",
    "action":"files_deleted",
    "files_uuids": [
        "2addc5dc-867b-5a4f-860f-83e567550000", 
        "9014b90f-64b5-584d-8b90-f23016c50000"
    ]
}