curl --request PATCH \
--url https://api.novu.co/v1/notification-groups/{id} \
--header 'Authorization: ApiKey <NOVU_SECRET_KEY>' \
--header 'Content-Type: application/json' \
--data '{"name": "insert-new-name"}'
{
"data": {
"_id": "string",
"name": "string",
"_environmentId": "string",
"_organizationId": "string",
"_parentId": "string"
}
}
curl --request PATCH \
--url https://api.novu.co/v1/notification-groups/{id} \
--header 'Authorization: ApiKey <NOVU_SECRET_KEY>' \
--header 'Content-Type: application/json' \
--data '{"name": "insert-new-name"}'
{
"data": {
"_id": "string",
"name": "string",
"_environmentId": "string",
"_organizationId": "string",
"_parentId": "string"
}
}
Authorization
field like the example shown below:E.g ApiKey 18d2e625f05d80e
curl --request PATCH \
--url https://api.novu.co/v1/notification-groups/{id} \
--header 'Authorization: ApiKey <NOVU_SECRET_KEY>' \
--header 'Content-Type: application/json' \
--data '{"name": "insert-new-name"}'
{
"data": {
"_id": "string",
"name": "string",
"_environmentId": "string",
"_organizationId": "string",
"_parentId": "string"
}
}
Was this page helpful?