v1

latestSwagger 2.02026-07-13107162315.5 KB
Task

Deletes a task by its Task ID, enforcing the same business rules as the Avaza web app.

Deletes the task and its entire subtask tree along with related data (assignments, followers, tags, dependencies, comments, and recurring-task links). Task file attachments are flagged for asynchronous removal from storage. Deletion is blocked (409) when the task or any of its subtasks has linked timesheets, invoiced fixed amounts, expenses, or schedule bookings.

Example request: DELETE /api/Task/3003344 Example response (200): { "taskID": 3003344, "isDeleted": true }

delete/api/Task/{id}

Path parameters

idinteger required

The ID of the task to delete. Supplied in the URL path, e.g. DELETE /api/Task/123.

Query parameters

SendWebhooksboolean

If true, fires the task_deleted webhook to subscribed endpoints. Defaults to false.

Response

The task was deleted successfully.

object required