gcloud components remove - remove one or more installed components
gcloud components remove COMPONENT_ID [COMPONENT_ID ...] [GCLOUD_WIDE_FLAG ...]
Uninstall all listed components, as well as all components that directly or indirectly depend on them.
The command lists all components it is about to remove, and asks for confirmation before proceeding.
To remove COMPONENT-1, COMPONENT-2, and all components that directly or indirectly depend on COMPONENT-1 or COMPONENT-2, type the following:
$ gcloud components remove COMPONENT-1 COMPONENT-2
- COMPONENT_ID [COMPONENT_ID ...]
The IDs of the components to be removed.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.