v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
workflows

Deletes the task status of the workflow with the specified id.

A workflow must always have at least one task status of type 'todo' and one of type 'done'. If you attempt to delete the last status of either type, this endpoint will return a BadRequest error.

         If any tasks are currently using this status, you must provide a
         NewTaskStatusId in the request body to migrate those tasks to a
         different status within the same workflow.

<Check title="Required Permissions" icon="key">The user must be an admin or have project-manage-config:write permissions.</Check>

post/workflows/{workflowId}/taskstatuses/{taskStatusId}/delete

Path parameters

workflowIdstring uuid required

The Id of the workflow.

taskStatusIdstring uuid required

The Id of the task status to delete.

Headers

Authorizationstring required

Bearer authentication

Request body

newTaskStatusIdstring uuid nullable

The Id of the task status to migrate tasks to. Required if any tasks are currently using the status being deleted. Must be a different status within the same workflow.

Response

No Content

object required