Path Parameters
Body
application/json
User defined custom name and provided by the user to rename the topic.
Response
Ok
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>"
]
}
}
Rename a topic by providing a new name
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>"
]
}
}
User defined custom name and provided by the user to rename the topic.
Ok
Show child attributes
Was this page helpful?