SetResponsible

[POST] .../v1/projecttask/setresponsible

Assigns the responsible user for a task. Transfer task responsibility to another user while keeping the task in the same project and status. The method updates responsible_user_id, refreshes participant-related notification state and returns UpdateResult. The request body must contain id and responsible_user_id, the caller needs task responsible-change permission and missing body, invalid ids, denied access, missing task, storage errors are returned as HTTP 200 ErrorResult.

Request Parameters

Name Type Required Description
id Int64 Required Task ID.
responsible_user_id Int64 Required New responsible user ID.

Request Example

{
  "id": 101,
  "responsible_user_id": 18
}

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