{
"alert_type": "universal_ssl_event_type",
"description": "Something describing the policy.",
"enabled": true,
"filters": {
"slo": [
"99.9"
]
},
"mechanisms": {
"email": [
{
"id": "test@example.com"
}
],
"pagerduty": [
{
"id": "e8133a15-00a4-4d69-aec1-32f70c51f6e5"
}
],
"webhooks": [
{
"id": "14cc1190-5d2b-4b98-a696-c424cb2ad05f"
}
]
},
"name": "SSL Notification Event Policy"
}
curl --location --request PUT 'https://api.cloudflare.com/client/v4/accounts//alerting/v3/policies/' \
--header 'Content-Type: application/json' \
--data-raw '{
"alert_type": "universal_ssl_event_type",
"description": "Something describing the policy.",
"enabled": true,
"filters": {
"slo": [
"99.9"
]
},
"mechanisms": {
"email": [
{
"id": "test@example.com"
}
],
"pagerduty": [
{
"id": "e8133a15-00a4-4d69-aec1-32f70c51f6e5"
}
],
"webhooks": [
{
"id": "14cc1190-5d2b-4b98-a696-c424cb2ad05f"
}
]
},
"name": "SSL Notification Event Policy"
}'
{
"errors": [],
"messages": [],
"result": {
"id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
},
"success": true
}