Update user task
PATCH/user-tasks/:userTaskKey
Update a user task with the given key.
Request
Path Parameters
The key of the user task to update.
- application/json
Body
candidateGroups
- reset by providing an empty listcandidateUsers
- reset by providing an empty listdueDate
- reset by providing an empty StringfollowUpDate
- reset by providing an empty Stringpriority
- minimum 0, maximum 100, default 50
changeset objectnullable
JSON object with changed task attribute values.
The following attributes can be adjusted with this endpoint, additional attributes will be ignored:
Providing any of those attributes with a null
value or omitting it preserves
the persisted attribute's value.
The assignee cannot be adjusted with this endpoint, use the Assign task endpoint. This ensures correct event emission for assignee changes.
The due date of the task. Reset by providing an empty String.
The follow-up date of the task. Reset by providing an empty String.
The list of candidate users of the task. Reset by providing an empty list.
The list of candidate groups of the task. Reset by providing an empty list.
Possible values: <= 100
Default value: 50
The priority of the task.
Additional properties allowed.
A custom action value that will be accessible from user task events resulting from this endpoint invocation. If not provided, it will default to "update".
Responses
- 204
- 400
- 404
- 409
- 500
The user task was updated successfully.
The user task with the given key cannot be updated. More details are provided in the response body.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The user task with the given key was not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The user task with the given key is in the wrong state currently. More details are provided in the response body.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}