Revoke document


The document signing process can be called off or revoked by the sender of the document. Once you revoke a document, signers can no longer view or sign it.

Revoke action can only be performed on documents that have not completed the signing process.

Code snippet

curl -X POST "{documentId}" 
     -H 'X-API-KEY: {your API key}' 
     -H "Content-Type: application/json" 
     -d "{\"message\": \"This is document revoke message\"}"
var apiClient = new ApiClient("", "{apikey}");
var documentclient = new DocumentClient(apiClient);
await documentclient.RevokeDocumentAsync("{documentId}", "This is document revoke message").ConfigureAwait(false);
import requests
import json

url = "{documentId}"

payload = json.dumps({
  "message": "This is document revoke message"
headers = {
  'X-API-KEY': '{apikey}',
  'Content-Type': 'application/json'

response = requests.request("POST", url, headers=headers, data=payload)
const axios = require('axios'); 


        message: 'This is document revoke message' 

        params: { documentId: '{documentId}' }, 
        headers: { 
            'X-API-KEY': '{Your API key}', 
            'Content-Type': 'application/json' 

Query parameters

documentIdstringRequiredID of the requested document to revoke.

Request body

messagestringRequiredThe exact reason for performing a revoke action.
onBehalfOfstringIf the document is created on behalf of the sender, the sender's identity email address must be specified.

Example response

204 No Content