delete_document_version
(**kwargs)¶Deletes a specific version of a document.
See also: AWS API Documentation
Request Syntax
response = client.delete_document_version(
AuthenticationToken='string',
DocumentId='string',
VersionId='string',
DeletePriorVersions=True|False
)
[REQUIRED]
The ID of the document associated with the version being deleted.
[REQUIRED]
The ID of the version being deleted.
[REQUIRED]
Deletes all versions of a document prior to the current version.
None
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsException
WorkDocs.Client.exceptions.ProhibitedStateException
WorkDocs.Client.exceptions.ConflictingOperationException
WorkDocs.Client.exceptions.ConcurrentModificationException
WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
WorkDocs.Client.exceptions.FailedDependencyException
WorkDocs.Client.exceptions.InvalidOperationException
WorkDocs.Client.exceptions.UnauthorizedOperationException