Skip to navigation

DeleteEnvelopes

View as Markdown

DeleteEnvelopes deletes the specified envelopes from a folder.

Schema

NameSchema TypeDescription
EnvelopeIdsArray of EnvelopesAn array of envelope IDs for the envelopes being deleted.
AccountIdStringThe account ID associated with the envelopes being deleted.
FolderFromFolderTypeInfoThe folder with the envelopes being deleted.

This method returns DeleteEnvelopeResponse with the result of the request.

Sample Request XML

SOAPAction: "http://www.docusign.net/API/3.0/DeleteEnvelopes"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap: Body>
<DeleteEnvelopes xmlns="http://www.docusign.net/API/3.0">
<Arg>
<EnvelopeIds>
<EnvelopeId>string</EnvelopeId>
<EnvelopeId>string</EnvelopeId>
</EnvelopeIds>
<AccountId>string</AccountId>
<FolderFrom>
<FolderType>RecycleBin or Draft or Inbox or SentItems or Normal</FolderType>
<FolderName>string</FolderName>
<FolderPath>string</FolderPath>
<FolderId>string</FolderId>
</FolderFrom>
</Arg>
</DeleteEnvelopes>
</soap:Body>
</soap:Envelope>