Skip to main content
POST
/
api
/
chats
/
delete
Delete chat from tracking
curl --request POST \
  --url http://localhost:8080/api/chats/delete \
  --header 'Authorization: Bearer <token>'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

API key with bmx_ prefix. Obtain via /api/auth/api-keys.

Query Parameters

bot_id
integer
required

Bot ID

chat_id
integer
required

Chat ID to remove

Response

Chat removed

ok
boolean
Example:

true