---
title: "Update tag"
method: PUT
path: "/tag/{tag_id}"
tags: ["[v1] Tags"]
---

# Update tag

`PUT /tag/{tag_id}`

Modify tag data.

## Path parameters

- `tag_id` integer, required

## Request body

- object
  - `name` string — new tag name
  - `archived` union — set if tag is archived
    - string
    - integer

## Response `200`

OK - tag updated

- object
  - `message` string

## Other responses

- `201` — Created
- `400` — Bad Request
- `403` — Forbidden

---

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