younifyd
Menu

Update task

Update task

PATCH/v1/tasks/{task_id}

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Update task action (under Tasks).
  3. Fill in the fields below, then reference the result from later steps as {{updateTask.response.data}}.

Request

Path parameters

task_idinteger (int32)required

Request body

Enter the body as JSON in the step's Body field.

statusstringrequired

This contains the new status that you want to update the task with. It is only allowed to cancel queued tasks by setting their status to `CANCELED` or re-run tasks that are not in progress by setting their status to `QUEUED`.In-progress tasks cannot be modified.

One ofQUEUEDCANCELED

json
{
  "status": "QUEUED"
}

Response

Returns 200 with a oneOf. Read it in later steps with {{updateTask.response.data.<field>}}.

Need more? See the Constructor guide for connection setup and behaviour shared by every action.

Was this page helpful?