Assign a task with id to assignee. Returns the task.

PATCH {{tasklistApiBaseUrl}}/v1/tasks/:taskId/assign

Assign a task with taskId to assignee or the active user.

Request Body

{"assignee"=>"assignee", "allowOverrideAssignment"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"\u003cstring\u003e","name":"\u003cstring\u003e","taskDefinitionId":"\u003cstring\u003e","processName":"\u003cstring\u003e","creationDate":"\u003cstring\u003e","completionDate":"\u003cstring\u003e","assignee":"\u003cstring\u003e","taskState":"COMPLETED","formKey":"\u003cstring\u003e","processDefinitionKey":"\u003cstring\u003e","processInstanceKey":"\u003cstring\u003e","dueDate":"\u003cdateTime\u003e","followUpDate":"\u003cdateTime\u003e","candidateGroups":["\u003cstring\u003e","\u003cstring\u003e"],"candidateUsers":["\u003cstring\u003e","\u003cstring\u003e"]}