CmdID / aws / aws workdocs
aws workdocs delete-document
Permanently deletes the specified document and its associated metadata. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a document
The following delete-document example deletes the specified document.
aws workdocs delete-document --document-id b83ed5e5b167b65ef69de9d597627ff1a0d4f07a45e67f1fab7d26b54427de0aIdentify--document-idThe ID of the document.This command produces no output.
Options
--authentication-tokenAmazon WorkDocs authentication token.--document-idThe ID of the document.