Update an existing task and its steps in one call. Edit the JSON you imported the task with and send it here with the task's GUID. The task keeps its GUID, so links to it and its history still work.
The body is the same as POST /expertisetasks/import.
Steps
steps is the task's whole step list, in order. Steps are matched by title, so you don't need step GUIDs:
| In your list | What happens |
|---|---|
| Same title as an existing step | The step is updated and keeps its GUID. Fields you leave out are unchanged. |
| New title | The step is added. |
| Existing step not in your list | The step is deleted. |
- Renaming a step deletes the old one and adds a new one.
- Titles must be unique in the task.
- Subtask steps are matched by
subtask_id. - A matched step can only change
typebetween 1, 3 and 6. To change it to another type, rename it too. - An empty list deletes every step. Leave
stepsout to keep them all and update only the task's settings.
Task settings
task is optional. name, published, roles, dependencies and translations are updated if you send them. Other fields, such as product_id, are ignored.
Images
Base64 images in an <img> tag can stay in your JSON. They're stored as links, and an image the step already has isn't uploaded again.
Errors and retries
If any part fails, the task and its steps stay as they were. Sending the same body again is safe: steps that didn't change are left as they are.
Limits
- A task with linked observation options can't be updated this way.
- If someone is running the task and is on a step you delete, they can't continue that run.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
403The caller can't edit this copilot's tasks
409The task's steps changed while the update was being handled
