WorkDocs / Client / deactivate_user

deactivate_user#

WorkDocs.Client.deactivate_user(**kwargs)#

Deactivates the specified user, which revokes the user’s access to Amazon WorkDocs.

See also: AWS API Documentation

Request Syntax

response = client.deactivate_user(
    UserId='string',
    AuthenticationToken='string'
)
Parameters:
  • UserId (string) –

    [REQUIRED]

    The ID of the user.

  • AuthenticationToken (string) – Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

Returns:

None

Exceptions

  • WorkDocs.Client.exceptions.EntityNotExistsException

  • WorkDocs.Client.exceptions.UnauthorizedOperationException

  • WorkDocs.Client.exceptions.UnauthorizedResourceAccessException

  • WorkDocs.Client.exceptions.FailedDependencyException

  • WorkDocs.Client.exceptions.ServiceUnavailableException