0

I'm having a look at the DocuSign eSignature REST API and in the Templates category it clearly states that

"You can: Create, list, get, update, and delete templates"

but when I had a look at the list of available methods deleting a template wasn't there.

I have tried sending a DELETE request to /v2/accounts/{accountId}/templates/{templateId} but no luck.

Can anyone confirm if this is even possible? Thanks

1 Answer 1

2

You cannot delete directly, instead you will move the template to Deleted/Recyclebin Folder and DocuSign will delete it permanently after sometime from the Deleted folder. To move the template to Deleted folder, you need to make below call:

URI:

PUT /restapi/v2/accounts/{accountId}/folders/recyclebin

Body:

{"envelopeIds":["templateId"]}

Body is having envelopeIds, but value of this will be your array of templateIds which you need to move to Deleted folder.

1
  • Got it. Thanks for your help :)
    – ixsl
    May 6, 2018 at 22:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.