---
title: "Update Taxonomy"
method: PUT
path: "/api/v1/custom-taxonomies/{taxonomy_id}"
tags: ["custom-taxonomies"]
---

# Update Taxonomy

`PUT /api/v1/custom-taxonomies/{taxonomy_id}`

## Request

- Base URL: `https://app.kaminari.ad`
- URL: `https://app.kaminari.ad/api/v1/custom-taxonomies/{taxonomy_id}`
- Auth: HTTP bearer

Replace the full tree atomically and bump ``version``.

## Path parameters

- `taxonomy_id` string, uuid, required

## Request body

- UpdateCustomTaxonomyRequest: Atomic replace-tree update. The whole tree is replaced; clients send the desired final state. The server bumps ``version`` so historical ``scan_taxonomy_classifications`` can be tied back to a snapshot.
  - `name` string, required
  - `description` string
  - `show_in_public_report` boolean: Show this taxonomy's tiers on the unauthenticated shared scan report. Full-replace like every other field: omitting it hides the taxonomy.
  - `nodes` TaxonomyNodeRequest[]
    - `client_id` string, required
    - `parent_client_id` string, nullable
    - `name` string, required
    - `description` string
    - `is_default` boolean

## Response `200`

Successful Response

- CustomTaxonomyResponse: Aggregate metadata + the full node tree.
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `name` string, required
  - `slug` string, required
  - `description` string, required
  - `is_active` boolean, required
  - `show_in_public_report` boolean, required
  - `version` integer, required
  - `nodes` TaxonomyNodeResponse[], required
    - `id` string, uuid, required
    - `parent_id` string, uuid, nullable, required
    - `level` integer, required
    - `position` integer, required
    - `name` string, required
    - `description` string, required
    - `is_default` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kaminari/apis/kaminari-ad-api.md) · [All operations](https://skmtc.dev/kaminari/apis/kaminari-ad-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kaminari/apis/kaminari-ad-api/revisions/013f86e2fd32?raw)
