v1

latestOpenAPI 3.0.12026-07-13149396412.1 KB
NotificationPolicy

put/api/v1/config/notification-policies/{slug}

Path parameters

slugstring required

Request body

create_if_missingboolean

If true, the NotificationPolicy will be created if it does not already exist, identified by slug. If false, an error will be returned if the NotificationPolicy does not already exist.

dry_runboolean

If true, the NotificationPolicy isn't created or updated, and no response NotificationPolicy will be returned. The response will return an error if the given NotificationPolicy is invalid.

Response

A successful response containing the updated NotificationPolicy.