AlexaForBusiness / Client / delete_user

delete_user#

AlexaForBusiness.Client.delete_user(**kwargs)#

Deletes a specified user by user ARN and enrollment ARN.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.delete_user(
    UserArn='string',
    EnrollmentId='string'
)
Parameters:
  • UserArn (string) – The ARN of the user to delete in the organization. Required.

  • EnrollmentId (string) –

    [REQUIRED]

    The ARN of the user’s enrollment in the organization. Required.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AlexaForBusiness.Client.exceptions.NotFoundException

  • AlexaForBusiness.Client.exceptions.ConcurrentModificationException