palbaseDocs

Palbase Messaging · API

DELETE/messaging/conversations/{conversation_id}

Delete a group for everyone

A group's owner or admin deletes it for everyone: it goes from their lists at once (removed, with reportable_until), and what it said, its files and its keys stay sealed 14 days for those who were in it to report it, then go. A direct conversation is cleared, not deleted (…/clear).

Called by a signed-in user of your app, with their token and the publishable key.

Path

conversation_idstring (uuid) · requiredThe conversation.
curl
curl -X DELETE "https://<your-ref>.palbase.studio/messaging/conversations/<conversation_id>" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN"

Responses

204Deleted

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

403Not the group's owner or admin (`admins_only`), or a direct conversation (`cannot_delete_direct`)

404No such conversation of yours (`conversation_not_found`)

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 DeleteConversation of messaging's contract.