WorkDocs.Client.delete_document(**kwargs)¶Permanently deletes the specified document and its associated metadata.
See also: AWS API Documentation
Request Syntax
response = client.delete_document(
AuthenticationToken='string',
DocumentId='string'
)
[REQUIRED]
The ID of the document.
None
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsExceptionWorkDocs.Client.exceptions.LimitExceededExceptionWorkDocs.Client.exceptions.ProhibitedStateExceptionWorkDocs.Client.exceptions.ConflictingOperationExceptionWorkDocs.Client.exceptions.ConcurrentModificationExceptionWorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableException