deleteAppInstanceAdmin method
Demotes an AppInstanceAdmin to an
AppInstanceUser or AppInstanceBot. This action
does not delete the user.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw ResourceLimitExceededException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter appInstanceAdminArn :
The ARN of the AppInstance's administrator.
Parameter appInstanceArn :
The ARN of the AppInstance.
Implementation
Future<void> deleteAppInstanceAdmin({
required String appInstanceAdminArn,
required String appInstanceArn,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/app-instances/${Uri.encodeComponent(appInstanceArn)}/admins/${Uri.encodeComponent(appInstanceAdminArn)}',
exceptionFnMap: _exceptionFns,
);
}