Skip to main content
Undo changes made to a document's main file

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the document whose main file is to be put back.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

Query Parameters

forceRevert
boolean
default:false

Goes ahead even with a document that has been signed here or is waiting for somebody to act on it: what it waits for is cancelled and the earlier file is put back. Without it such a document is refused instead.

Example:

false

Response

The main file has been put back, or there was nothing to put back.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"