Skip to main content
POST
/
api
/
v1
/
config
/
notification-policies
cURL
curl --request POST \
  --url https://docs.chronosphere.io/api/v1/config/notification-policies \
  --header 'API-Token: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dry_run": true
}
'
{}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
dry_run
boolean

If true, validates the specified configuration without creating the NotificationPolicy. If the specified configuration is valid, the endpoint returns a partial response without the NotificationPolicy. If the specified configuration is invalid, the endpoint returns an error.

notification_policy
object

The NotificationPolicy to create.

Response

A successful response containing the created NotificationPolicy.

notification_policy
object