Deletes 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>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
workflowId
The Id of the workflow.
projectStatusId
The Id of the project status to delete.
Request
Optional form containing the new status Id for migration.
newProjectStatusId
The Id of the project status to migrate projects to.
Required if any projects are currently using the status being deleted.
Must be a different status within the same workflow.
Response
No Content
Errors
400
Bad Request Error
404
Not Found Error

