Update a notifier
Partially updates an existing notifier. When changing type, provide the destination fields required by the new notifier type.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Partial notifier update. All request body fields are optional individually, but at least one field must be provided. When changing type, include the destination field required by the new type. Secret header values returned by GET or LIST are masked as an empty string; omit those entries or replace them with the real value when updating.
Optional. New containing project. Workspace-scoped callers may set an empty value to make the notifier workspace-wide. Project-scoped API keys remain pinned to the API key's project.
Optional. New human-readable notifier name.
Optional. Replacement custom JSON metadata.
Optional. New destination type. When provided, also provide the destination field required by the new type.
NOTIFIER_TYPE_UNSPECIFIED, NOTIFIER_TYPE_EMAIL, NOTIFIER_TYPE_SLACK_WEBHOOK, NOTIFIER_TYPE_WEBHOOK Optional replacement email recipients. Required when changing type to NOTIFIER_TYPE_EMAIL.
Optional replacement Slack incoming webhook URL. Required when changing type to NOTIFIER_TYPE_SLACK_WEBHOOK.
Optional replacement generic webhook URL. Required when changing type to NOTIFIER_TYPE_WEBHOOK.
Optional replacement generic webhook headers. Secret header values returned by GET or LIST are masked as an empty string; omit those entries or replace them with the real value when updating.
Response
OK
Notifier resource. The destination field present on the resource depends on type and is captured in oneOf.
- Email notifier
- Slack webhook notifier
- Generic webhook notifier