WorkDocs / Client / delete_document

delete_document#

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'
)
Parameters:
  • AuthenticationToken (string) – Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

  • DocumentId (string) –

    [REQUIRED]

    The ID of the document.

Returns:

None

Exceptions