---
title: "Delete the workflow definition for a template."
method: DELETE
path: "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"
tags: ["EnvelopeWorkflowDefinition"]
---

# Delete the workflow definition for a template.

`DELETE /v2.1/accounts/{accountId}/templates/{templateId}/workflow`

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

**Note:** If the specified template does not have a workflow definition, this endpoint returns a 200 response.

## Path parameters

- `accountId` string, required
- `templateId` string, required

## Response `200`

Successful response.

## Other responses

- `400` — Error encountered.

---

[API](https://skmtc.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/revisions/77f1998c313d/schema)
