DELETE
/tasks/{task_id}Remove a task
Deletes a task from a file. Use task_id to identify the task assignment to remove. A successful deletion returns no response body.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
task_idstringrequired
The unique identifier of the task to delete.
204Returns an empty response when the task is successfully deleted.
404Returned when the task cannot be found or the user does not have access to the file the task is assigned to.
typestringoptional
The value will always be `error`.
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context
about the error. The possible fields are defined on
a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used
when contacting Box support.
defaultReturned when an unexpected client error occurs.
typestringoptional
The value will always be `error`.
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context
about the error. The possible fields are defined on
a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used
when contacting Box support.
Error handling
A 404 is returned when task_id does not identify an accessible task or the user does not have access to the file assigned to it. Ensure task_id identifies the task you intend to remove.