v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14191644620.9 KB

Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.

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.

post/channels/{channelArn}/messages/{messageId}#operation=redact

Path parameters

channelArnstring required

The ARN of the channel containing the messages that you want to redact.

messageIdstring required

The ID of the message being redacted.

Query parameters

operation'redact' required

Headers

x-amz-chime-bearerstring

The <code>AppInstanceUserArn</code> of the user that makes the API call.

Response

Success

ChannelArnstring

The ARN of the channel containing the messages that you want to redact.

MessageIdstring

The ID of the message being redacted.