Skip to main content
POST
/
task
/
{id}
/
delegate
Delegate
curl --request POST \
  --url http://{host}:{port}/{contextPath}/task/{id}/delegate \
  --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 delegate.

Body

application/json

Provide the id of the user that the task should be delegated to.

userId
string | null

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

Response

Request successful.