Method: projects.locations.reservations.delete

Deletes a reservation. Returns google.rpc.Code.FAILED_PRECONDITION when reservation has assignments.

HTTP request

DELETE https://bigqueryreservation.googleapis.com/v1/{name=projects/*/locations/*/reservations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the reservation to retrieve. E.g., projects/myproject/locations/US/reservations/team1-prod

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

  • bigquery.reservations.delete

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.