[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-22。"],[[["\u003cp\u003eThis page demonstrates how to delete a Dataproc cluster using a Google APIs Explorer template.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a cluster requires specifying the project ID, region, and cluster name in the APIs Explorer template.\u003c/p\u003e\n"],["\u003cp\u003ePrior to deletion, it's assumed that a Dataproc cluster has already been created using one of the various available methods.\u003c/p\u003e\n"],["\u003cp\u003eAfter executing the delete request in the API template, you can confirm the cluster's deletion status on the Dataproc Clusters page in the Google Cloud console.\u003c/p\u003e\n"]]],[],null,["# APIs Explorer Quickstart—Delete a cluster\n\nAPIs Explorer Quickstart---Delete a cluster\n===========================================\n\nThis page shows you how to use an [Google APIs Explorer](https://developers.google.com/apis-explorer/#p/) template to delete a Dataproc cluster.\n\nFor other ways to submit a job to a Dataproc cluster, see:\n\n- [Quickstart Using the Console](/dataproc/docs/quickstarts/update-cluster-console#clean-up)\n- [Quickstart using the Google Cloud CLI](/dataproc/docs/quickstarts/update-cluster-gcloud#clean-up)\n- [Quickstarts using Cloud Client Libraries](/dataproc/docs/quickstarts/create-cluster-client-libraries)\n\nBefore you begin\n----------------\n\nThis quickstart assumes you have already created a Dataproc cluster. You can use the [APIs Explorer](/dataproc/docs/quickstarts/create-cluster-template), the [Google Cloud console](/dataproc/docs/quickstarts/update-cluster-console#create_a_cluster), the gcloud CLI [gcloud](/dataproc/docs/quickstarts/update-cluster-gcloud#create_a_cluster) command-line tool, or the [Quickstarts using Cloud Client Libraries](/dataproc/docs/quickstarts/create-cluster-client-libraries) to create a cluster.\n\n\u003cbr /\u003e\n\nDelete a cluster\n----------------\n\nTo delete a cluster, fill in and execute the Google APIs Explorer **Try this API**\ntemplate.\n| **Note:** The `region` and `clusterName` parameter values are filled in for you. Confirm or replace these parameter values to match your cluster's region and name.\n\n1. **Request parameters:**\n\n 1. Insert your [**projectId**](https://console.cloud.google.com/).\n 2. Specify the [**region**](/compute/docs/regions-zones/regions-zones#available) where your cluster is located (confirm or replace \"us-central1\"). Your cluster's region is listed on the Dataproc [**Clusters**](https://console.cloud.google.com/dataproc/clusters) page in the Google Cloud console.\n 3. Specify the [**clusterName**](/dataproc/docs/reference/rest/v1/projects.regions.clusters/delete#body.PATH_PARAMETERS.cluster_name) of the existing cluster that you are deleting (confirm or replace \"example-cluster\").\n2. Click **EXECUTE**. The first time you\n run the API template, you may be asked to choose and sign into\n your Google account, then authorize the Google APIs Explorer to access your\n account. If the request is successful, the JSON response\n shows that cluster update is pending.\n\n3. To confirm that the cluster is being deleted, open the Dataproc\n [Clusters](https://console.cloud.google.com/dataproc/clusters) page in the Google Cloud console.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Browse the [Dataproc tutorials](/dataproc/docs/tutorials)."]]