TrainAR icon

TrainAR

Call the TrainAR API — tasks, users, skills

Actions6

Task → Update Status

AI-generated

Summary

Updates the status of an existing TrainAR task by its ID.

Inputs

  • taskId (required) — The ID of the task to update. Can be provided as a string ID or selected from a list of available tasks.
  • status (required) — The new status for the task. Options include 'open', 'in_progress', 'completed', or 'cancelled'. Defaults to 'in_progress'.

Output shape

The API response body (JSON) for the updated task.

Returns the full response object from the PATCH request, which typically includes the updated task details.

Examples

Example 1: Update a specific task by ID

Set Task ID to 'abc-123' and New Status to 'completed'.

Example 2: Change a task back to open status

Select a task from the 'From List' option and set New Status to 'open'.

Links

Discussion