> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL.
>
> Documentation indexes by section:
> - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt
> - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt
> - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt
> - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt
>
> Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth
> Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks
>
> OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json
> MCP server: https://docusign.docs.buildwithfern.com/_mcp/server

# DeleteEnvelopes

DeleteEnvelopes deletes the specified envelopes from a folder.

### Schema

![](/_fern-files/_img/21331a8bb6cc1eb8200a1fcb6cd3ab799f3b19746406c8e33ef80c8208c354a6.webp)

| Name        | Schema Type        | Description                                                 |
| ----------- | ------------------ | ----------------------------------------------------------- |
| EnvelopeIds | Array of Envelopes | An array of envelope IDs for the envelopes being deleted.   |
| AccountId   | String             | The account ID associated with the envelopes being deleted. |
| FolderFrom  | FolderTypeInfo     | The 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>
```