Skip to main content
POST
/
task
/
{id}
/
assignee
Set Assignee
curl --request POST \
  --url http://{host}:{port}/{contextPath}/task/{id}/assignee \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "userId": "aUserId"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the task to set the assignee for.

Body

application/json

Provide the id of the user that will be the assignee of the task.

userId
string | null

The id of the user that the current action refers to.

Response

Request successful.