palbaseDocs

Palbase Messaging · API

DELETE/messaging/admin/conversations/{conversation_id}/members/{user_id}

Take a person out of a group

The project's server takes a person out of a group.

Called by your server, with the project's secret key.

Path

conversation_idstring (uuid) · requiredThe conversation.
user_idstring · requiredThe member.
curl
curl -X DELETE "https://<your-ref>.palbase.studio/messaging/admin/conversations/<conversation_id>/members/<user_id>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

204Done

400Not a group (`not_a_group`)

401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)

403Not the project's secret key (`secret_key_required`)

404No such conversation or member

429Over the project's request limit; Retry-After says when to try again

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation AdminRemoveMember of messaging's contract.