Skip to main content

diagrid pubsub update

Update a Diagrid pub/sub broker

Description

Update the scopes of a Diagrid pub/sub broker.

diagrid pubsub update <pubsub> [flags]

Examples


# Restrict a pub/sub broker to a specific set of App IDs
diagrid pubsub update my-pubsub --project my-project --scopes app-a,app-b

# Remove all scope restrictions (accessible to every App ID)
diagrid pubsub update my-pubsub --project my-project --scopes ""

Options

-p, --project string Name of existing project
--scopes strings Comma-separated list of App IDs that may access this pub/sub broker. Pass an empty value to allow all App IDs.
-w, --wait Wait for long-running resource update to finish
-h, --help help for update

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO