Skip to main content
Permanently delete an uploaded file and remove it from storage. This action cannot be undone.
Authorization
string
required
Bearer token obtained from the authenticate endpoint.
upload_id
string
required
Unique identifier of the upload to delete. This is the id returned by Upload Files or List Uploads.

Response

message
string
required
Confirmation message.
curl -X DELETE https://api.trellis.sh/v1/chats/uploads/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "message": "Upload deleted successfully"
}