---
title: "Update topic"
method: PATCH
path: "/api/v1/models/{modelId}/topic/{topicName}"
tags: ["Models"]
---

# Update topic

`PATCH /api/v1/models/{modelId}/topic/{topicName}`

## Path parameters

- `modelId` string, uuid, required — Model UUID
- `topicName` string, required — Topic name

## Query parameters

- `branch_id` string, uuid — Branch ID to use for branch-aware operations

## Request body

- ModelsUpdateTopicBody
  - `description` string — Topic description
  - `groupLabel` string — Group label for the topic
  - `hidden` boolean — Whether the topic is hidden
  - `label` string — Topic label
  - `newTopicName` string — New topic name (for rename)

## Response `200`

Topic updated successfully

- SuccessResponse
  - `success` boolean, required — Whether the operation was successful

## Other responses

- `400` — Invalid request body
- `401` — Authentication required
- `403` — Permission denied
- `404` — Model or topic not found

---

[API](https://skmtc.net/omniapp/apis/omni-api.md) · [All operations](https://skmtc.net/omniapp/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omniapp/omni-api/versions/4701f292c621/schema)
