# Deletes a task by its ID. Endpoint: DELETE /tasks/{taskId} Version: 0.9.0 Security: bearerAuth ## Path parameters: - `taskId` (string, required) The ID of the task to delete. ## Query parameters: - `tenantId` (string) Optional tenant identifier. Only needed if a task id exists across multiple tenants, to uniquely identify the task. ## Response 200 fields (application/json): - `message` (string) Example: "Task deleted successfully" - `taskId` (string) Example: "task_waterloo" - `tenantId` (string) Example: "tenant_123" ## Response 400 fields ## Response 403 fields ## Response 404 fields