PATCH
/
v1
/
topics
/
{topicKey}
curl --request PATCH \
  --url https://api.novu.co/v1/topics/{topicKey} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "data": {
    "_id": "<string>",
    "_organizationId": "<string>",
    "_environmentId": "<string>",
    "key": "<string>",
    "name": "<string>",
    "subscribers": [
      "<string>"
    ]
  }
}

Enter your API key in the Authorization field like the example shown below:

E.g ApiKey 18d2e625f05d80e

Path Parameters

topicKey
string
required

Body

application/json
name
string
required

User defined custom name and provided by the user to rename the topic.

Response

200 - application/json
data
object