Delete

[POST] .../v1/projecttask/delete

Deletes a task. Use this method to remove a task from the active task list when the task should no longer be available. The method applies the current task delete behavior, removes or marks the task according to persistent rules, sends task deletion side effects and returns UpdateResult. The request body must contain a valid task id, the caller needs task delete permission and missing body, invalid id, denied access, missing task, database failures or persistent errors are returned as HTTP 200 ErrorResult business errors.

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
  }
}