delete_user

delete_user(**kwargs)

Deletes a specified user by user ARN and enrollment ARN.

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