Skip to main content
PATCH
/
tags
/
categories
/
{category_id}
import requests

response = requests.patch(
    "https://api.atomscale.ai/tags/categories/b1a2c3d4-1111-2222-3333-444455556666",
    headers={
        "X-API-KEY": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "name": "Review Stage"
    }
)
category = response.json()
{
  "id": "b1a2c3d4-1111-2222-3333-444455556666",
  "name": "Review Stage",
  "organization_id": "org_abc123",
  "tag_count": 4
}
Updates an existing tag category.
category_id
string
required
UUID of the tag category to update
name
string
required
Updated category name

Response

Returns the updated category.
id
string
Tag category UUID
name
string
Category name
organization_id
string
ID of the organization the category belongs to
tag_count
integer
Number of tags that belong to this category
import requests

response = requests.patch(
    "https://api.atomscale.ai/tags/categories/b1a2c3d4-1111-2222-3333-444455556666",
    headers={
        "X-API-KEY": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "name": "Review Stage"
    }
)
category = response.json()
{
  "id": "b1a2c3d4-1111-2222-3333-444455556666",
  "name": "Review Stage",
  "organization_id": "org_abc123",
  "tag_count": 4
}