Decline a chat room invitation

PUT/chat-rooms/:id/decline

Decline an invitation to a chat room. The membership record is deleted, so the room no longer appears in your list; you can join again if you are re-invited.

AuthLogin required

Path parameters

idstringrequired

Chat room ID.

Request
curl https://api.4s.link/chat-rooms/ID/decline \
-X PUT \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"success": true
}