Delete File

Delete a file from storage

DELETEhttps://api.jamdesk.com/api/v1/files/:id

Permanently deletes a file from storage.

Path Parameters

idstringrequired

The file ID.

curl -X DELETE "https://api.example.com/v1/files/file_xyz" \
  -H "Authorization: Bearer $TOKEN"
{
  "data": {
    "id": "file_xyz",
    "deleted": true
  }
}