Skip to main content
Permanently delete a chat conversation and all associated messages. This action cannot be undone.
Authorization
string
required
Bearer token obtained from the authenticate endpoint.
chat_id
string
required
Unique identifier of the chat to delete.

Response

message
string
required
Confirmation message.
curl -X DELETE https://api.trellis.sh/v1/chats/chat_abc123 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "message": "Chat deleted successfully"
}