Function: deleteInactiveWorkflow()
ts
function deleteInactiveWorkflow(
client,
parameters,
options?
): Promise<void>;Defined in: src/cloud/api/workflows.ts:123
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 required:Administer Jira global permission.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { entityId: string; } | - |
parameters.entityId | string | The entity ID of the workflow. |
options? | RequestOptions | - |
Returns
Promise<void>