v1

latestOpenAPI 3.1.12026-07-124448163.2 KB
files

Delete a file

Deletes a file by ID.

delete/files/{id}

Path parameters

idstring cuid required

The ID of the item

Example:cmf41ajzv003706un4i99q19z

Headers

x-client-idstring cuid required

The ID of the client

Example:cmf41ajzv003706un4i99q19z

Response

File deleted

objectstring required

The type of the deleted object

deletedboolean required

Whether the object was deleted

idstring cuid required

The ID of the deleted object

Example response

{
  "object": "file",
  "deleted": true,
  "id": "cmf41ajzv003706un4i99q19z"
}