---
search:
  tags:
    - Topics
    - PUT
seo:
  description: >-
    Update Topic Api. Reference for the PUT /topics/{topic_id} endpoint in the
    Streamkap REST API.
sidebar:
  label: Update Topic Api
  badge: PUT
title: Update Topic Api
type: openapi-operation
---
`PUT /topics/{topic_id}`

**Request body** (`application/json`, required)

- `payload` (TopicUpdateReqBody, required)

Request body example:

```json
{
  "payload": {
    "partition_count": 0,
    "tags": [
      "string"
    ]
  }
}
```

**Responses**

- `200` — Successful Response
- `422` — Validation Error
