WorkDocs.Client.
delete_user
(**kwargs)¶Deletes the specified user from a Simple AD or Microsoft AD directory.
Warning
Deleting a user immediately and permanently deletes all content in that user's folder structure. Site retention policies do NOT apply to this type of deletion.
See also: AWS API Documentation
Request Syntax
response = client.delete_user(
AuthenticationToken='string',
UserId='string'
)
[REQUIRED]
The ID of the user.
None
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsException
WorkDocs.Client.exceptions.UnauthorizedOperationException
WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
WorkDocs.Client.exceptions.FailedDependencyException
WorkDocs.Client.exceptions.ServiceUnavailableException