v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1444236171.7 KB

Changes the status of the document version to ACTIVE.

Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by InitiateDocumentVersionUpload.

patch/api/v1/documents/{DocumentId}/versions/{VersionId}

Path parameters

DocumentIdstring required

The ID of the document.

VersionIdstring required

The version ID of the document.

Headers

Authenticationstring password

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

Request body

VersionStatus'ACTIVE'

The status of the version.

Response

Success