Update notification alert
1 min
PUT
https://app.amberflo.io/notifications/{notification_id}
notification_idstringUnique identifier for the notification alert to update. Format is UUID v4.
bodyobjectRequest payload for updating an existing notification alert configuration.
200Notification alert successfully updated with new configuration details
400Invalid request parameters or malformed request body
401Missing or invalid API key authentication
403Insufficient permissions to access this resource
404Notification alert not found or has been deleted
500Internal server error occurred while processing request
curl --request PUT \
--url https://app.amberflo.io/notifications/{notification_id} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '{
"id": "",
"name": "Too many api calls",
"description": "Alert on too many api calls",
"notificationType": "usage",
"meterId": "24ad0b40-a217-11eb-b01a-19ff91d9370d",
"frequency": "every 1h",
"webhookUrl": "https://hooks.slack.com/services/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",
"email": [
"[email protected]"
],
"thresholdCondition": "greater-than",
"thresholdValue": 1000,
"range": "day",
"customerFilterMode": "*",
"enabled": true
}'