Smart Agent Teams
EndpointsTasks

Delete Task

Delete a task and its comment thread. `task_ref` is the task's UUID or key (e.g. `SAT-12`). Subtasks are moved up to the deleted task's parent. Records a `deleted` audit event and publishes `task.deleted`.

DELETE
/api/companies/{company_id}/tasks/{task_ref}

Delete a task and its comment thread.

task_ref is the task's UUID or key (e.g. SAT-12). Subtasks are moved up to the deleted task's parent. Records a deleted audit event and publishes task.deleted.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

task_ref*Task Ref
company_id*Company Id
Formatuuid

Response Body

Successful Response

curl -X DELETE "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/tasks/string"
Empty