Messaging

DELETE /v2/chats/{chat_id}/members/{user_id}

Owners remove admins and members; admins remove members. The owner cannot be removed and nobody removes themself. The chat version advances so other members refresh. Idempotent by current state.

Request

  • Base URL
    https://api.arbital.xyz (the document declares no server; this is the origin it was published from)
  • URL
    https://api.arbital.xyz/v2/chats/{chat_id}/members/{user_id}
  • Auth
    HTTP bearer

Path parameters

chat_idstring uuid required
user_idstring uuid required

Response

Member is no longer active; repeated removal returns the same state

chat_idstring uuid required
joined_at_unix_msinteger required
role'owner' | 'admin' | 'member' required
state'active' | 'left' | 'removed' | 'banned' required
state_changed_at_unix_msinteger required
state_changed_by_user_idstring uuid nullable required
user_idstring uuid required
versionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.