Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by UpdateChannelMessage.
The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.
delete/channels/{channelArn}/messages/{messageId}
Path parameters
channelArnstring required
The ARN of the channel.
messageIdstring required
The ID of the message being deleted.
Headers
x-amz-chime-bearerstring
The <code>AppInstanceUserArn</code> of the user that makes the API call.
Response
Success