Void a DocuSign envelope
POST/esignature/docusign/:documentId/envelopes/:envelopeId/void
Cancels an in-progress DocuSign envelope; available as an Add-On Module. Requires write access to the selected document or artifact and a matching stored envelope ID. Calls DocuSign's envelope update API, PUT /restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}, with status set to voided and the supplied voidedReason. DocuSign notifies recipients that the envelope was voided, including the supplied reason. Only sent or delivered envelopes can be voided. If the envelope is already voided, returns its current state without another update or changing its original reason. Voiding cannot be undone. The existing envelope-voided callback updates the stored FormKiQ status. After a timeout, the outcome is unknown; check the existing GET envelope status endpoint before attempting the operation again.
Request
Path Parameters
Document Identifier
Docusign Envelope Id
Query Parameters
Site Identifier
Artifact Document Identifier
Possible values: [PRODUCTION, DEVELOPMENT]
DocuSign environment. Defaults to the site's docusignEnvironment; required when the site has no default. Use the environment in which the envelope was created.
- application/json
Body
required
Non-blank, recipient-facing explanation for voiding the DocuSign envelope. At most 200 characters, including spaces and line breaks; longer reasons are rejected without truncation.
Possible values: non-empty and <= 200 characters, Value must match regular expression \S
Document has been replaced.Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 502
- 504
DocuSign envelope voided successfully
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
- Example
Schema
Identifier of the DocuSign envelope that was voided
a1111111-b222-c333-d444-e55555555555Envelope status after the successful operation, voided
voided{
"envelopeId": "a1111111-b222-c333-d444-e55555555555",
"status": "voided"
}
{
"envelopeId": "a1111111-b222-c333-d444-e55555555555",
"status": "voided"
}
Invalid parameters, missing, blank, or overlong voidedReason, missing DocuSign configuration, or an envelope that is not eligible to be voided.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
List of errors
Error Key
Error Message
{
"errors": [
{
"key": "string",
"error": "string"
}
]
}
Authentication required
Write access to the selected document or artifact is denied
Document, artifact, or associated DocuSign envelope not found
DocuSign rate limit exceeded
DocuSign authentication failure, upstream error, or invalid response
DocuSign request timed out; the void operation outcome is unknown