---
title: "Update topic by id"
method: PUT
path: "/messages/topics/{id}"
tags: ["Message"]
---

# Update topic by id

`PUT /messages/topics/{id}`

This endpoint is used to update topic

## Request body

- CreateTopic
  - `created_at` string
  - `id` string
  - `is_active` string
  - `name` string
  - `updated_at` string

## Response `200`

Update topic successfuly

- Topic
  - `is_active` boolean — default true
  - `name` string — Non null

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/inquirer/apis/mobile-middleware.md) · [All operations](https://skmtc.net/inquirer/apis/mobile-middleware/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/inquirer/mobile-middleware/revisions/b0608768680f/schema)
