0
votes

I am using an esignature api.

I want to delete the envelope using the esignature api.

The deletion was not found in EnvelopesApi.

How to delete an envelope from the docusign api?

1
Can you please share why you want to delete an envelope, and are you planning to delete Draft or sent envelope? - Amit K Bist

1 Answers

1
votes

You can use the Envelopes: update API to Void envelopes which will make it so no one can sign and invalidate the transaction.

PUT /v2/accounts/{accountId}/envelopes/{envelopeId}

{
    "status":"voided",
    "voidedReason":"voided for incorrect recipient"
}

By default DocuSign envelopes are stored in your account for 2 years I believe, however if you want you can Purge any given envelope which will remove it forever. To purge a document you can use the same API as above.