---
title: "Update a task"
method: PUT
path: "/queue/{task_identifier}"
tags: ["basic"]
---

# Update a task

`PUT /queue/{task_identifier}`

## Path parameters

- `task_identifier` string, required

## Request body

- TaskDetailed
  - `detail_type` string, required
  - `identifier` string, required
  - `priority` number, required
  - `description` string, required — Simple description to identify the type of task
  - `assigned_to` string, required — Name of worker assigned to the task.
  - `created` string, date-time, required — Date the task was added to the queue.
  - `last_updated` string, date-time, required — Date the task was updated to the queue.
  - `state` integer, required — State of the task.
  - `task` string, required — The task.
  - `success` boolean, required
  - `runtime` number, required
  - `worker_labels` string, required — Worker that can take this task.
  - `config` object — Configuration of the task.
  - `result` object — Result of the task
  - `log` string — Standard output of the task

## Response `200`

The updated task

## Other responses

- `400` — General error

---

[API](https://skmtc.net/amz-racing/apis/rosbag-bazaar-api.md) · [All operations](https://skmtc.net/amz-racing/apis/rosbag-bazaar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amz-racing/rosbag-bazaar-api/versions/9167cc5a1f11/schema)
