Update a user task
PATCHhttp://localhost:8080/v1/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
changeset objectnullable
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
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 (auto)
Schema
A URI identifying the problem type.
about:blank
A summary of the problem type.
The HTTP status code for this problem.
Possible values: >= 400
and <= 600
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.
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 (auto)
Schema
A URI identifying the problem type.
about:blank
A summary of the problem type.
The HTTP status code for this problem.
Possible values: >= 400
and <= 600
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"
}
- curl
- java
- nodejs
- csharp
- python
- go
- CURL
curl -L -X PATCH 'http://localhost:8080/v1/user-tasks/:userTaskKey' \
-H 'Content-Type: application/json' \
-d '{
"changeset": {
"dueDate": "2024-07-29T15:51:28.071Z",
"followUpDate": "2024-07-29T15:51:28.071Z",
"candidateUsers": [
"string"
],
"candidateGroups": [
"string"
]
},
"action": "string"
}'