v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451211217.9 KB

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 ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.

delete/channels/{channelArn}/messages/{messageId}#x-amz-chime-bearer

Path parameters

channelArnstring required

The ARN of the channel.

messageIdstring required

The ID of the message being deleted.

Query parameters

sub-channel-idstring
<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when deleting messages in a SubChannel that the user belongs to.</p> </note>

Headers

x-amz-chime-bearerstring required

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

Response

Success