Method: projects.locations.capacityCommitments.merge

Stay organized with collections Save and categorize content based on your preferences.

Merges capacity commitments of the same plan into a single commitment.

The resulting capacity commitment has the greater commitmentEndTime out of the to-be-merged capacity commitments.

Attempting to merge capacity commitments of different plan will fail with the error code google.rpc.Code.FAILED_PRECONDITION.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Parent resource that identifies admin project and location e.g., projects/myproject/locations/us

Authorization requires the following IAM permission on the specified resource parent:

  • bigquery.capacityCommitments.update

Request body

The request body contains data with the following structure:

JSON representation
  "capacityCommitmentIds": [


Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc

Response body

If successful, the response body contains an instance of CapacityCommitment.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.