---
title: "Rename a topic"
method: PATCH
path: "/v1/topics/{topicKey}"
tags: ["Topics"]
---

# Rename a topic

`PATCH /v1/topics/{topicKey}`

Rename a topic by providing a new name

## Path parameters

- `topicKey` string, required

## Request body

- RenameTopicRequestDto
  - `name` string, required — User defined custom name and provided by the user to rename the topic.

## Response `200`

- object
  - `data` RenameTopicResponseDto
    - `_id` string
    - `_organizationId` string, required
    - `_environmentId` string, required
    - `key` string, required
    - `name` string, required
    - `subscribers` string[], required

---

[API](https://skmtc.dev/cequens/apis/authentication.md) · [All operations](https://skmtc.dev/cequens/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cequens/authentication/revisions/deadb0661f19/schema)
