v1

latestOpenAPI 3.1.02026-07-24770322.0 KB

Delete File

This API endpoint permanently removes a specific file, folder, or link. <br><br> If the deleted object is a folder, this operation is not recursive and files within the folder will not be deleted. You will receive a ‘Folder is not empty’ error message and the folder will not be deleted.

delete/v1/files/{id}

Path parameters

idstring required

The ID of the file to delete.

Response

200

idstring
objectstring
deletedboolean

Example response

{
  "id": "25bd3f5a-c059-4f68-8a2d-2749016ba451",
  "object": "file",
  "deleted": true
}