provider Workflows DELETE /rest/api/3/workflow/{entityId}
@utdk/jira /rest/api/3/workflow/{entityId}
Delete inactive workflow
Deletes a workflow. The workflow cannot be deleted if it is: * an active workflow. * a system workflow. * associated with any workflow scheme. * associated with any draft workflow scheme. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
entityId path required
The entity ID of the workflow.
string

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
deleteinactiveworkflow
DELETE/rest/api/3/workflow/{entityId}
Deletes a workflow. The workflow cannot be deleted if it is: * an active workflow. * a system workflow. * associated with any workflow scheme. * associated with any draft workflow scheme. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Parameters

required

The entity ID of the workflow.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.deleteinactiveworkflow()