Skip to main content

astroctl notifications subscriptions upsert

Create or update a notification subscription

Synopsis​

Create or update a notification subscription for a specific topic. The subscription will be enabled by default.

Terminal
astroctl notifications subscriptions upsert [flags]

Examples​

Terminal

# Create or update a subscription
astroctl notifications subscriptions upsert --topic application-pipeline --channels slack,email

# Create subscription with only email notifications
astroctl notifications subscriptions upsert --topic cluster-pipeline --channels email

Options​

Terminal
--channels strings Notification channels (comma-separated list: email,slack) (required)
-h, --help help for upsert
--topic string Notification topic (required)

Options inherited from parent commands​

Terminal
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​