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