---
title: "Update Task Metadata (Legacy)"
method: PUT
path: "/v1/task/{taskId}"
tags: ["Tasks (Legacy)"]
---

# Update Task Metadata (Legacy)

`PUT /v1/task/{taskId}`

Updates task metadata (name and description). This does not affect the task code or versions.

If you are using the new Task Builder, see the Tasks V2 endpoints in this API reference.

## Path parameters

- `taskId` string, uuid, required

## Request body

- UpdateTaskMetadataRequest
  - `name` string — Task name (letters, numbers, hyphens, and underscores only)
  - `description` string — Optional description of the task

## Response `200`

Task metadata updated successfully

- TaskMetadataResponse
  - `data` TaskMetadata
    - `id` string, uuid, required — Unique identifier for the task
    - `name` string, required — Task name
    - `teamId` string, uuid, required — Team identifier that owns this task
    - `description` string — Optional description of the task
    - `latest` string, required — Latest version identifier
    - `deleted` boolean, required — Whether the task is soft deleted
    - `createdAt` string, date-time, required — Task creation timestamp
    - `updatedAt` string, date-time, required — Task last update timestamp

## Other responses

- `404` — Task not found
- `409` — Task name already exists
- `500` — Failed to update task

## Changes

- **2026-02-25** `ae25b3e0f20d` — 2 info
  - api tag `Tasks (Legacy)` added
  - api tag `Tasks` removed
- **2026-02-18** `4d2d945e5967` — 2 info
  - api tag `Tasks` added
  - api tag `Tasks (Legacy)` removed
- **2026-02-18** `cdc369172404` — 2 info
  - api tag `Tasks (Legacy)` added
  - api tag `Tasks` removed
- **2025-10-20** `918bcdcb6208` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/changes/v1/task/:taskId/put.md)

---

[API](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api.md) · [All operations](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anchorbrowser/anchorbrowser-api/revisions/ae25b3e0f20d/schema)
