PUT
/v2/projects/{projectId}/tasks/{taskNumber}/closeDeprecatedClose a task
Closes a task in a project. Use projectId and taskNumber to identify the task to close; the response contains the task after the operation. This operation is deprecated.
taskNumberintegerrequired
The 64-bit integer number of the task to close.
projectIdintegerrequired
The 64-bit integer identifier of the project containing the task.
200Returns the task object, including its current state and task details.
agencyobjectoptional
assigneesarray<object>required
authorobjectoptional
baseCharacterCountintegerrequired
baseWordCountintegerrequired
branchNamestringoptional
closedAtintegeroptional
createdAtintegeroptional
descriptionstringrequired
doneItemsintegerrequired
dueDateintegeroptional
languageobjectrequired
namestringoptional
numberintegerrequired
originBranchNamestringoptional
statestringrequired
totalItemsintegerrequired
typestringrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to close the task.
codestringrequired
paramsarray<object>optional
404Returned when the project or task does not exist.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. A 401 is returned when the request is unauthenticated. A 403 is returned when the authenticated user cannot close the task. A 404 is returned when the projectId path parameter or taskNumber path parameter does not identify an existing project task.