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'
)
[REQUIRED]
The ID of the user.
None
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsExceptionWorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableException