Skip to contentSkip to navigation

Update Tag Beta

Rename or recolor a tag.

PATCH /api/v1/tags/{tag_id}

Requires an API key with the write scope.

Changes the name or the color. The type cannot change. A lead tag's new name is lowercased. A warmup tag returns 404.

Path Parameters

tag_id string path required
The tag id.

Request Body

name string body
1 to 100 characters.
color string body
#RRGGBB.

Errors

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: write
404Tag not found
409A tag with that name and type already exists
422Invalid name or color

Rate Limit

  • 120 requests per minute, shared by every write call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (write).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?