Delete
[POST] .../v1/projecttask/delete
Soft-deletes a project task and its linked chat. Soft-delete a project task and its linked chat and clear task links from active CRM deals. Requires a valid task id, task delete permission and access to the task. Returns UpdateResult and sends the ProjectTaskDeleted webhook and notifications. Missing body, invalid id, denied access, missing task and storage failures return HTTP 200 ErrorResult.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Task ID. |
Request Example
{
"id": 101
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"row_affected": 1
}
}