gcloud metastore services delete (SERVICES [SERVICES …] : --location=LOCATION) [--async] [GCLOUD_WIDE_FLAG …]
--async, exits after printing one or
more operation names that can be used to poll the status of the deletion(s) via:
gcloud metastore operations describe
my-metastore-service in location us-central1, run:
gcloud metastore services delete my-metastore-service --location=us-central1
To delete multiple Dataproc Metastore services with the name
service-1 and service-2 in the same location
us-central1, run:
gcloud metastore services delete service-1 service-2 --location=us-central1
To set the project attribute:
services on the command line with a fully
specified name;
--project on the command line;
core/project.
SERVICES [SERVICES …]
To set the service attribute:
services on the command line.
--location=LOCATIONlocation attribute:
services on the command line with a fully
specified name;
--location on the command line;
metastore/location.
--async--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.
gcloud alpha metastore services deletegcloud beta metastore services delete
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.