Skip to content

/AWS1/CL_CHS=>PUTCHANNELEXPIRATIONSETTINGS()

About PutChannelExpirationSettings

Sets the number of days before the channel is automatically deleted.

  • A background process deletes expired channels within 6 hours of expiration. Actual deletion times may vary.

  • Expired channels that have not yet been deleted appear as active, and you can update their expiration settings. The system honors the new settings.

  • 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.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELARN TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the channel.

Optional arguments:

IV_CHIMEBEARER TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

IO_EXPIRATIONSETTINGS TYPE REF TO /AWS1/CL_CHSEXPIRATIONSETTINGS /AWS1/CL_CHSEXPIRATIONSETTINGS

Settings that control the interval after which a channel is deleted.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHSPUTCHANNELEXPSTG01 /AWS1/CL_CHSPUTCHANNELEXPSTG01