Leave chat

DELETE /actions/user/chats/{entity_id}/join

Leave a chat for a specific entity by removing the current user from participants. The user will no longer receive chat messages for this entity.

Path parameters

  • entity_id string(uuid) Required

    Entity unique identifier

Responses

  • 204

    Chat left successfully

DELETE /actions/user/chats/{entity_id}/join
curl \
 --request DELETE 'http://api.example.com/actions/user/chats/a24a6ea4-ce75-4665-a070-57453082c25/join' \
 --header "Authorization: $API_KEY"