PATCH

/v1/topics/{topicKey}

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

Please ensure there is a space between ApiKey and your Api key.

E.g ApiKey 18d2e625f05d80e

Path Parameters

topicKeyrequired
string

Body

application/json
namerequired
string

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

Response

200 - application/json
data
object