Remove a chat

Permanently deletes an existing chat and its transcript.

DELETE https://chat.betterstack.com/api/v2/chats/{id}

URL parameters

id
required string

Headers

Authorization
required string
204
401

Response body

{
  "errors": "Invalid authentication"
}
404

Response body

{
  "errors": "Resource with the provided ID was not found"
}

Example cURL

Example
curl --request DELETE \
  --url https://chat.betterstack.com/api/v2/chats/12345 \
  --header "Authorization: Bearer $TOKEN"