Skip to content

Create an alert notification group link

Request

Create a link between an alert and a notification group.

Security
api_key
Bodyapplication/jsonrequired

The link between an alert and a notification group to store.

alertIdstring, (uuid)required
notificationGroupIdstring, (uuid)required
curl -i -X PUT \
  https://coreapi.hoxton.ai/_mock/v1/alert-notification-groups \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e",
    "notificationGroupId": "41de1f35-974f-4b87-aa3b-73a525fbcbb4"
  }'

Responses

OK.

Bodyapplication/json
alertIdstring, (uuid)required
notificationGroupIdstring, (uuid)required
Response
{ "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "notificationGroupId": "41de1f35-974f-4b87-aa3b-73a525fbcbb4" }