Skip to content

/AWS1/CL_CHI=>CREATEAPPINSTANCEADMIN()

About CreateAppInstanceAdmin

Promotes an AppInstanceUser or AppInstanceBot to an AppInstanceAdmin. The promoted entity can perform the following actions.

  • ChannelModerator actions across all channels in the AppInstance.

  • DeleteChannelMessage actions.

Only an AppInstanceUser and AppInstanceBot can be promoted to an AppInstanceAdmin role.

Method Signature

IMPORTING

Required arguments:

IV_APPINSTANCEADMINARN TYPE /AWS1/CHICHIMEARN /AWS1/CHICHIMEARN

The ARN of the administrator of the current AppInstance.

IV_APPINSTANCEARN TYPE /AWS1/CHICHIMEARN /AWS1/CHICHIMEARN

The ARN of the AppInstance.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHICREAPPINSTADMINRSP /AWS1/CL_CHICREAPPINSTADMINRSP