Update channel invitation preference

PUT {{baseUrl}}/v3/users/:user_id/channel_invitation_preference

Update channel invitation preference

Updates the channel invitation preference for a user's private group channels.

Note: Using the update default channel invitation preference action, you can update the value of channel invitation preference which is globally applied to all users within the application.

https://sendbird.com/docs/chat/v3/platform-api/guides/user#2-update-channel-invitation-preference

Request Body

{"auto_accept"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Api-Tokenstring(Required)
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;auto_accept&quot;:&quot;\u003cboolean\u003e&quot;}