Task Status

Delete TaskStatus

DEL

The endpoint is used to delete a TaskStatus.

You will not be able to delete a TaskStatus if there are tasks that have been assigned to this status level or if the TaskStatus is the default status level.

Path parameters

projectIdstringRequired
The unique identifier of the Project for the TaskStatus level to delete
taskStatusIdstringRequired
The Id of the TaskStatus level to be removed.

Response

This endpoint returns an object
error
objectOptional
If the API call failed, this will contain information about the error that occurred.
success
booleanOptional
True if the API call succeeded; false otherwise.
hasError
booleanOptional
True if the API call failed.
statusCode
enumOptional
The HTTP code of the response.
DEL
1curl -X DELETE /api/data/projects/projectId/tasks/statuses/taskStatusId \
2 -H "Authorization: Bearer <token>"
200
Deleted
1{
2 "error": {
3 "technicalError": "technicalError",
4 "additionalErrors": [
5 "additionalErrors"
6 ],
7 "message": "message"
8 },
9 "success": true,
10 "hasError": true,
11 "statusCode": "Continue"
12}