Palbase Messaging · API
POST
/messaging/conversations/{conversation_id}/clearClear a conversation for oneself
The reader removes what the conversation said, for themselves; it leaves their list until something new is said.
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 POST "https://<your-ref>.palbase.studio/messaging/conversations/<conversation_id>/clear" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
200Their place in it now
401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)
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 ClearConversation of messaging's contract.