Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Method: projects.locations.reservations.assignments.delete
Deletes a assignment. No expansion will happen.
Example:
- Organization
organizationA
contains two projects, project1
and project2
.
- Reservation
res1
exists and was created previously.
- assignments.create was used previously to define the following associations between entities and reservations:
<organizationA, res1>
and <project1, res1>
In this example, deletion of the <organizationA, res1>
assignment won't affect the other assignment <project1, res1>
. After said deletion, queries from project1
will still use res1
while queries from project2
will switch to use on-demand mode.
HTTP request
DELETE https://bigqueryreservation.googleapis.com/v1/{name=projects/*/locations/*/reservations/*/assignments/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. Name of the resource, e.g. projects/myproject/locations/US/reservations/team1-prod/assignments/123
Authorization requires the following IAM permission on the specified resource name :
bigquery.reservationAssignments.delete
|
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["This webpage details the process of deleting an assignment via an HTTP DELETE request to a specified URL."],["The deletion of an assignment, such as `\u003corganizationA, res1\u003e`, will not impact other existing assignments like `\u003cproject1, res1\u003e`."],["The HTTP request must follow the gRPC Transcoding syntax using a specific URL structure: `DELETE https://bigqueryreservation.googleapis.com/v1/{name=projects/*/locations/*/reservations/*/assignments/*}`."],["The request requires the `name` parameter, a string that identifies the assignment to be deleted, and demands `bigquery.reservationAssignments.delete` IAM permission."],["A successful request results in an empty JSON response, and authorization requires either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]