Deletes the task status of the workflow.
Changed onDeletes the task status of the workflow. 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>
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/workflows/{workflowId}/taskstatuses/{taskStatusId}/delete
- Auth: HTTP bearer
Path parameters
The Id of the workflow.
The Id of the task status to delete.
Request body
Response
No Content
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PostWorkflowTaskStatusDeleteByWorkflowIdAndTaskStatusIdremoved and replaced withworkflows_PostWorkflowTaskStatusDeleteByWorkflowIdAndTaskStatusId
- info