Decline an invitation

PUT {{baseUrl}}/v3/group_channels/:channel_url/decline

Decline an invitation

Declines an invitation for a user to not join a private group channel.

Note: This action is effective only when the auto_accept property of an application is set to false. You can change the value of the property using the update default channel invitation preference action, or update a user's channel invitation preference action.

https://sendbird.com/docs/chat/v3/platform-api/guides/group-channel#2-decline-an-invitation

Request Body

{"channel_url"=>"<string>", "user_id"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Api-Tokenstring(Required)
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;anyOf&quot;:&quot;\u003cstring\u003e&quot;}