Skip to main content

diagrid notification route update

Update a notification route

Description

Update a notification route.

Giving --type, --filter or --destination replaces that whole list. A flag that is not given leaves that part unchanged.

diagrid notification route update <name> [flags]

Examples


# Point an existing route at a different destination
diagrid notification route update order-failures --destination oncall-webhook

# Narrow the filter, keeping the destinations
diagrid notification route update order-failures \
--filter project=orders --filter severity=critical

Options

-p, --project string Name of existing project
--type string Replacement alert type
--filter stringArray Replacement label matchers as key<op>value; repeat to AND several
--destination stringArray Replacement destination names; repeat for several
-h, --help help for update

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO