---
title: "DELETE /v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares"
method: DELETE
path: "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares"
tags: ["EnvelopeShares"]
---

# DELETE /v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares

`DELETE /v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares`

## Request

- Base URL: `https://www.docusign.net/restapi`
- URL: `https://www.docusign.net/restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares`
- Auth: none declared

## Path parameters

- `accountId` string, required
- `envelopeId` string, required

## Request body

- EnvelopesSharesRequest
  - `shares` EnvelopesShareRequest[]
    - `agentUser` AuthorizationUser
      - `accountId` string: The account ID.
      - `email` string: The email address of the authorization user.
      - `name` string: The name of the authorization user.
      - `userId` string: The ID of the authorization user.
    - `customMessage` string
    - `permission` string

## Response `200`

Successful response.

## Other responses

- `400`: Error encountered.

## Changes

- **2026-07-13** (v2) `77f1998c313d`: 1 info
  - endpoint added
- **2019-07-18** (v2) `8ad1b5a40f1b`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api/changes/v2.1/accounts/:accountId/envelopes/:envelopeId/shares/delete.md)

---

[API](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api.md) - [All operations](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api/revisions/77f1998c313d?raw)
