---
title: "Delete the workflow definition for an envelope."
method: DELETE
path: "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"
tags: ["EnvelopeWorkflowDefinition"]
---

# Delete the workflow definition for an envelope.

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

## Request

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

Deletes the specified envelope's workflow definition if it has one.

**Note:** If the envelope was scheduled to be sent, this endpoint will cancel the scheduled send and the envelope status will be reset to 
`created`. To resend the envelope, call the update the status to `sent` with the [Envelopes::Update](/docs/esign-rest-api/reference/envelopes/envelopes/update/) method.

## Path parameters

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

## Response `200`

Successful response.

## Other responses

- `400`: Error encountered.

## Changes

- **2022-09-15** (v2) `df4506977b42`: 1 info
  - api operation id `EnvelopeWorkflowDefinition_DeleteEnvelopeWorkflowDefinition` removed and replaced with `EnvelopeWorkflowDefinitionV2_DeleteEnvelopeWorkflowDefinition`
- **2020-11-05** (v2) `deba7c083bb4`: 1 info
  - endpoint added
- **2020-10-06** (v2) `a555432b7bf9`: 1 breaking
  - api path removed without deprecation
- **2020-10-06** (v2) `78c0d7f607b3`: 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/workflow/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)
