Skip to content

/AWS1/CL_CHS=>DELETECHANNELMEMBERSHIP()

About DeleteChannelMembership

Removes a member from a channel.

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.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELARN TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the channel from which you want to remove the user.

IV_MEMBERARN TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The AppInstanceUserArn of the member that you're removing from the channel.

IV_CHIMEBEARER TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

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

Optional arguments:

IV_SUBCHANNELID TYPE /AWS1/CHSSUBCHANNELID /AWS1/CHSSUBCHANNELID

The ID of the SubChannel in the request.

Only for use by moderators.