Skip to main content

Release Human Task

Endpoint: POST /api/human/tasks/{taskId}/release

Releases a previously claimed Human task. Use this endpoint if the user is unable to complete the task so that another user can claim it.

The invoking user should be one of the following:

  • Cluster admin
  • Task owner of the Human task
  • Task claimant

Path parameters

ParameterDescriptionTypeRequired/ Optional
taskIdThe task ID of the Human task execution to be released.stringRequired.

Response

Returns 200 OK, indicating that the Human task has been released successfully. Returns 400 if an invalid task execution ID is provided or if the Human task is in the ASSIGNED state.

Examples

Release a claimed Human task

Request

curl -X 'POST' \
'https://<YOUR-CLUSTER>/api/human/tasks/d9de569a-025f-11f1-913a-226156badb04/release' \
-H 'accept: */*' \
-H 'X-Authorization: <TOKEN>' \
-d ''

Response

Returns 200 OK, indicating that the Human task has been released successfully.