Skip to main content
DELETE
/
api
/
chat
/
retention
Cleanup expired chats
curl --request DELETE \
  --url https://api.example.com/api/chat/retention \
  --header 'Authorization: Bearer <token>'
{
  "deleted_count": 123,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Response

200 - application/json

Successful Response

deleted_count
integer
required
message
string
required