---
title: "POST /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop"
method: POST
path: "/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop"
tags: ["projects"]
---

# POST /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop

`POST /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop`

Stops a cluster in a project.

## Path parameters

- `projectId` string, required
- `region` string, required
- `clusterName` string, required

## Request body

- StopClusterRequest — A request to stop a cluster.
  - `clusterUuid` string — Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
  - `requestId` string — Optional. A unique ID used to identify the request. If the server receives two StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dataproc.md) · [All operations](https://skmtc.net/google/apis/dataproc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dataproc/versions/15847ccbcf7d/schema)
