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
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"anyOf":"\u003cstring\u003e"}