deleteMicrosoftTeamsUserIdentity method

Future<void> deleteMicrosoftTeamsUserIdentity({
  1. required String chatConfigurationArn,
  2. required String userId,
})

Identifes a user level permission for a channel configuration.

May throw DeleteMicrosoftTeamsUserIdentityException. May throw InvalidParameterException. May throw ResourceNotFoundException.

Parameter chatConfigurationArn : The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.

Parameter userId : The Microsoft Teams user ID.

Implementation

Future<void> deleteMicrosoftTeamsUserIdentity({
  required String chatConfigurationArn,
  required String userId,
}) async {
  final $payload = <String, dynamic>{
    'ChatConfigurationArn': chatConfigurationArn,
    'UserId': userId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/delete-ms-teams-user-identity',
    exceptionFnMap: _exceptionFns,
  );
}