Skip to content

Deletes a specific version of a document

Description

Deletes a specific version of a document.

Usage

workdocs_delete_document_version(AuthenticationToken, DocumentId,
  VersionId, DeletePriorVersions)

Arguments

  • AuthenticationToken

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

  • DocumentId

    [required] The ID of the document associated with the version being deleted.

  • VersionId

    [required] The ID of the version being deleted.

  • DeletePriorVersions

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

Value

An empty list.

Request syntax

svc$delete_document_version(
  AuthenticationToken = "string",
  DocumentId = "string",
  VersionId = "string",
  DeletePriorVersions = TRUE|FALSE
)