Skip to main content

diagrid notification destination update

Update a notification destination

Description

Update a notification destination.

A flag that is not given leaves that part unchanged. The destination's type cannot be changed after it is created.

diagrid notification destination update <name> [flags]

Examples


# Point the destination at a new endpoint
diagrid notification destination update ops-webhook \
--webhook-url https://hooks.example.com/catalyst-v2

# Rotate the bearer token
diagrid notification destination update ops-webhook --webhook-auth-token n3ws3cr3t

Options

-p, --project string Name of existing project
--webhook-url string Replacement endpoint
--webhook-auth-token string Replacement bearer token; stored in the project's secret store
--webhook-header stringArray Replacement request headers as Name:value; giving any replaces the whole set
--webhook-body-template string Replacement body template
-h, --help help for update

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO