Skip to content

/AWS1/CL_CHE=>REDACTCHANNELMESSAGE()

About RedactChannelMessage

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.

This API is is no longer supported and will not be updated. We recommend using the latest version, RedactChannelMessage, in the Amazon Chime SDK.

Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELARN TYPE /AWS1/CHECHIMEARN /AWS1/CHECHIMEARN

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

IV_MESSAGEID TYPE /AWS1/CHEMESSAGEID /AWS1/CHEMESSAGEID

The ID of the message being redacted.

Optional arguments:

IV_CHIMEBEARER TYPE /AWS1/CHECHIMEARN /AWS1/CHECHIMEARN

The AppInstanceUserArn of the user that makes the API call.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHEREDACTCHANNELMSG01 /AWS1/CL_CHEREDACTCHANNELMSG01