- gcloud beta services disable - disable a service for consumption for a project
gcloud beta services disable [SERVICE ...] [--async] [--force] [GCLOUD_WIDE_FLAG ...]
(BETA) This command disables one or more previously-enabled services for
To see a list of the enabled services for a project, run:
- $ gcloud beta services list
More information on listing services can be found at: cloud.google.com/service-usage/docs/list-services and on disabling a service at: cloud.google.com/service-usage/docs/enable-disable
- [SERVICE ...]
The name of the service(s) to disable.
Display information about the operation in progress, without waiting for the
operation to complete.
If specified, the disable call will proceed even if there are enabled services
which depend on the service to be disabled. Forcing the call means that the
services which depend on the service to be disabled will also be disabled.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
To disable a service called my-consumed-service for the active project, run:
- $ gcloud beta services disable my-consumed-service
To run the same command asynchronously (non-blocking), run:
- $ gcloud beta services disable my-consumed-service --async
This command is currently in BETA and may change without notice. These variants are also available:
- $ gcloud services disable $ gcloud alpha services disable