Creates a new ChannelModerator. A channel moderator can:
-
Add and remove other members of the channel.
-
Add and remove other moderators of the channel.
-
Add and remove user bans for the channel.
-
Redact messages in the channel.
-
List messages in the channel.
The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBotof the user that makes the API call as the value in the header.
post/channels/{channelArn}/moderators#x-amz-chime-bearer
Path parameters
channelArnstring required
The ARN of the channel.
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