v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1444236171.7 KB

Deletes a specific version of a document.

delete/api/v1/documentVersions/{DocumentId}/versions/{VersionId}#deletePriorVersions

Path parameters

DocumentIdstring required

The ID of the document associated with the version being deleted.

VersionIdstring required

The ID of the version being deleted.

Query parameters

deletePriorVersionsboolean required

Deletes all versions of a document prior to the current version.

Headers

Authenticationstring password

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

Response

Success