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."],[[["\u003cp\u003eThis webpage details the process of deleting an assignment via an HTTP DELETE request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe deletion of an assignment, such as \u003ccode\u003e<organizationA, res1>\u003c/code\u003e, will not impact other existing assignments like \u003ccode\u003e<project1, res1>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request must follow the gRPC Transcoding syntax using a specific URL structure: \u003ccode\u003eDELETE https://bigqueryreservation.googleapis.com/v1/{name=projects/*/locations/*/reservations/*/assignments/*}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the \u003ccode\u003ename\u003c/code\u003e parameter, a string that identifies the assignment to be deleted, and demands \u003ccode\u003ebigquery.reservationAssignments.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eA successful request results in an empty JSON response, and authorization requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]