I am trying to void an envelope using the DocuSign REST API. I used the API Explorer provided in the DocuSign Developer Portal.
Here is what I did:
✅ API endpoint:PUT /v2.1/accounts/{accountId}/envelopes/{envelopeId}
✅ Request body I used (in API Explorer):
{ "status": "voided", "voidedReason": "No longer needed" }
✅ The response I get back:
{ "envelopeId": "e811fcff-e313-4234-a755-09d394729536" }
Notice — there is no "status": "voided" returned in the response.
✅ When I run GET /envelopes/{envelopeId} afterwards, the envelope still shows status "sent" (not "voided").
✅ I can still access the signing link and sign the envelope.
What I have tried:
-
Confirmed that I used the correct
accountIdandenvelopeId -
Using API Explorer, so OAuth and headers are handled
-
Provided valid
voidedReasonand"status": "voided"in body -
Tried multiple times — same result
Question:
-
Why is my envelope not being voided even though I am calling the correct endpoint?
-
Is this an issue with API Explorer or something in my envelope state?
Back to Docusign.com



