Delete

Description

Delete a task.

Request

HTTP Method: DELETE

Query Parameter Description
case_id The ID of the case.
task_id The ID of the task to delete.
curl -X DELETE \
  https://<<META.tenant.domain>>/api/v2/cases/<<case_id>>/tasks/<<task_id>> \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'

Response

A successful request will return a JSON object containing the ID of the deleted task.

Field description

Parameter Description
destroyed_id The ID of the deleted task.

Sample response

{
  "destroyed_id": "1"
}
Was this helpful?