Deletes a project status from the workflow.
Changed onDeletes a project status from the workflow. A workflow must always have at least one project status to ensure projects using this workflow have a valid status. If you attempt to delete the last remaining project status, this endpoint will return a BadRequest error. If any projects are currently using this status, you must provide a NewProjectStatusId in the request body to migrate those projects 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}/projectstatuses/{projectStatusId}/delete
- Auth: HTTP bearer
Path parameters
The Id of the workflow.
The Id of the project 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
PostWorkflowProjectStatusDeleteByWorkflowIdAndProjectStatusIdremoved and replaced withworkflows_PostWorkflowProjectStatusDeleteByWorkflowIdAndProjectStatusId
- info