Cancel a document

Stops a document that is out for signing, or a draft. Every link stops working. Refused once everyone has signed.

Permission: signing:send @ workspace/{workspaceId}/signingRequest/{signingRequestId}

Authorization

ServiceAccountKey
AuthorizationBearer <token>

A service account API key, sent whole as a bearer token: hsk_<40 hex>.hss_<64 hex>.

In: header

Path Parameters

signingRequestId*string

The document to act on. IDs come from List documents.

Query Parameters

workspaceId*string

The workspace the template or document belongs to. Send it in the query string on every call, including the PDF upload. IDs come from List workspaces.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POSTCancel a document
curl -X POST "https://example.com/signing/requests/sZG0nWcpWKBF7zT8CqcN/void?workspaceId=ws_a1b2c3" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true}
POST
/signing/requests/{signingRequestId}/void