Skip to main content

astroctl_notifications

astroctl notifications

Manage notification subscriptions and integrations

Synopsis

Manage notification subscriptions and integrations for your organization. Subscriptions control which topics you receive notifications about. Integrations configure where and how those notifications are delivered (email addresses, Slack webhooks, etc.).

astroctl notifications [flags]

Examples


# ===== SUBSCRIPTION MANAGEMENT =====
# List all notification subscriptions (what topics you receive notifications about)
astroctl notifications subscriptions list

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

# Delete a notification subscription
astroctl notifications subscriptions delete --topic marketing-updates

# ===== INTEGRATION MANAGEMENT =====
# List notification integrations (your configured delivery methods)
astroctl notifications integrations list

# Configure an email integration (where email notifications are sent)
astroctl notifications integrations configure --channel email --email admin@company.com

# Configure a Slack integration (webhook URL and channel for Slack notifications)
astroctl notifications integrations configure --channel slack --webhook-url https://hooks.slack.com/services/... --slack-channel "#alerts"

# Delete an integration (remove a delivery method)
astroctl notifications integrations delete --channel slack

# ===== DISCOVERY =====
# List available topics
astroctl notifications topics

# List available notification channels
astroctl notifications channels

# ===== COMPLIANCE =====
# Unsubscribe from notifications (creates record for compliance purposes)
astroctl notifications unsubscribe --topic application-pipeline --channel email

Options

  -h, --help   help for notifications

Options inherited from parent commands

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

SEE ALSO