Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.trellis.sh/llms.txt

Use this file to discover all available pages before exploring further.

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"
}