---
title: "PUT /v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}"
method: PUT
path: "/v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}"
tags: ["projects"]
---

# PUT /v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}

`PUT /v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}`

## Request

- Base URL: `https://bigtableadmin.googleapis.com`
- URL: `https://bigtableadmin.googleapis.com/v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/bigtable.admin`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/bigtable.admin`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/bigtable.admin.cluster`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/bigtable.admin.cluster`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/bigtable.admin.instance`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/bigtable.admin.instance`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-bigtable.admin`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-bigtable.admin`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-bigtable.admin.cluster`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-bigtable.admin.cluster`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Updates a cluster within an instance. This method updates only the serve_nodes for a Cluster, and can only be used on manually scaled clusters. To update autoscaled clusters or enable autoscaling via cluster_config.cluster_autoscaling_config, use PartialUpdateCluster.

## Path parameters

- `projectsId` string, required
- `instancesId` string, required
- `clustersId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- Cluster: A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.
  - `clusterConfig` ClusterConfig: Configuration for a cluster.
    - `clusterAutoscalingConfig` ClusterAutoscalingConfig: Autoscaling config for a cluster.
      - `autoscalingLimits` AutoscalingLimits: Limits for the number of nodes a Cluster can autoscale up/down to.
        - `maxServeNodes` integer: Required. Maximum number of nodes to scale up to.
        - `minServeNodes` integer: Required. Minimum number of nodes to scale down to.
      - `autoscalingTargets` AutoscalingTargets: The Autoscaling targets for a Cluster. These determine the recommended nodes.
        - `cpuUtilizationPercent` integer: The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
        - `storageUtilizationGibPerNode` integer: The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
  - `defaultStorageType` 'STORAGE_TYPE_UNSPECIFIED' | 'SSD' | 'HDD': Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
  - `encryptionConfig` EncryptionConfig: Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.
    - `kmsKeyName` string: Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. Values are of the form `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
  - `location` string: Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form `projects/{project}/locations/{zone}`.
  - `name` string: The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.
  - `nodeScalingFactor` 'NODE_SCALING_FACTOR_UNSPECIFIED' | 'NODE_SCALING_FACTOR_1X' | 'NODE_SCALING_FACTOR_2X': Immutable. The node scaling factor of this cluster.
  - `serveNodes` integer: The number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.
  - `state` 'STATE_NOT_KNOWN' | 'READY' | 'CREATING' | 'RESIZING' | 'DISABLED': Output only. The current state of the cluster.

## Response `200`

Successful response

- Operation: This resource represents a long-running operation that is the result of a network API call.
  - `done` boolean: If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
  - `error` Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
    - `code` integer: The status code, which should be an enum value of google.rpc.Code.
    - `details` object[]: A list of messages that carry the error details. There is a common set of message types for APIs to use.
    - `message` string: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
  - `metadata` object: Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
  - `name` string: The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
  - `response` object: The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.

## Changes

- **2026-11-14** `88c397d52137`: 4 info
  - the security scope `https://www.googleapis.com/auth/bigtable.admin` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/bigtable.admin` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/bigtableadmin/changes/v2/projects/:projectsId/instances/:instancesId/clusters/:clustersId/put.md)

---

[API](https://skmtc.dev/google/apis/bigtableadmin.md) - [All operations](https://skmtc.dev/google/apis/bigtableadmin/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/bigtableadmin/revisions/88c397d52137?raw)
