Update a notification group exists if exists, create a new one otherwise.
Security
api_key
- Mock serverhttps://coreapi.hoxton.ai/_mock/v1/notification-groups
- https://nexus.hoxton.ai/api/v1https://nexus.hoxton.ai/api/v1/notification-groups
curl -i -X PUT \
https://coreapi.hoxton.ai/_mock/v1/notification-groups \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"emails": [
"user@example.com"
],
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98",
"state": "active",
"webhook": {}
}'Response
{ "deletedAt": "2019-08-24T14:15:22Z", "emails": [ "user@example.com" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "organisationId": "c9b3f279-e3b5-4204-ad99-646257417f98", "state": "active", "webhook": {} }