Skip to main content
DELETE
/
api
/
v1
/
chat
/
threads
/
{thread_id}
/
participants
/
{user_id}
Remove Participant
curl --request DELETE \
  --url https://api.example.com/api/v1/chat/threads/{thread_id}/participants/{user_id}

Remove Participant

Remove a participant from an existing thread.

Authentication

Requires a valid user JWT token with can_manage_participants capability.

Path Parameters

thread_id
string
required
UUID of the thread.
user_id
string
required
UUID of the user to remove.

Example

curl -X DELETE https://api.ama2.me/api/v1/chat/threads/{thread_id}/participants/{user_id} \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
{
  "status": "ok"
}