---
title: "Delete issue types for workflow in workflow scheme"
method: DELETE
path: "/rest/api/2/workflowscheme/{id}/workflow"
tags: ["Workflow schemes"]
---

# Delete issue types for workflow in workflow scheme

`DELETE /rest/api/2/workflowscheme/{id}/workflow`

Deletes the workflow-issue type mapping for a workflow in a workflow scheme.

Note that active workflow schemes cannot be edited. If the workflow scheme is active, set `updateDraftIfNeeded` to `true` and a draft workflow scheme is created or updated with the workflow-issue type mapping deleted. The draft workflow scheme can be published in Jira.

**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

## Path parameters

- `id` integer, required

## Query parameters

- `workflowName` string, required
- `updateDraftIfNeeded` boolean

## Response `200`

Returned if the request is successful.

## Other responses

- `400` — Returned if the workflow cannot be edited and `updateDraftIfNeeded` is not true.
- `401` — Returned if the authentication credentials are incorrect or missing.
- `403` — Returned if the user does not have the necessary permission.
- `404` — Returned if any of the following is true: * The workflow scheme is not found. * The workflow is not found. * The workflow is not specified.

---

[API](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api/versions/a26541c2f8bd/schema)
