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.EntityNotExistsExceptionWorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableException