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>"
]
}
}
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>"
]
}
}
Authorization
field like the example shown below:E.g ApiKey 18d2e625f05d80e
Ok
The response is of type object
.
Was this page helpful?