documents

Delete Version

Delete a version from a document's history when the user asks ("delete v2(b)"). Its file and redline go with it. A version that later versions follow cannot be deleted until they are. Match the user's "v2" to a label in your earlier results.

delete/v1/documents/{document_id}/versions/{version_id}

Request

  • Base URL
    https://api.versionstory.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.versionstory.com/v1/documents/{document_id}/versions/{version_id}
  • Auth
    HTTP bearer

Path parameters

version_idstring required

The version's version_id, a UUID, or "latest" for the Document's newest version.

document_idstring required

The Document's document_id, a UUID.

Headers

X-Customer-Idstring nullable

Id of one of your customers (created in the developer dashboard) to attribute this request's credit usage to. Billing and limits stay organization-wide.

Response

Successful Response

deletedboolean

true: it is deleted.

document_idstring required

The Document the version left.

messagestring nullable

What to do next.

Changes

No recorded changes to this operation across all 1 revision of this API.