v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451211217.9 KB

Sets the membership preferences of an AppInstanceUser or AppInstanceBot for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the membership can set preferences. Users or bots in the AppInstanceAdmin and channel moderator roles can't set preferences for other users. Banned users or bots can't set membership preferences for the channel from which they are banned.

The x-amz-chime-bearer request header is mandatory. Use the ARN of an AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.

put/channels/{channelArn}/memberships/{memberArn}/preferences#x-amz-chime-bearer

Path parameters

channelArnstring required

The ARN of the channel.

memberArnstring required

The ARN of the member setting the preferences.

Headers

x-amz-chime-bearerstring required

The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.

Request body

Response

Success

ChannelArnstring

The ARN of the channel.