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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","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,["# Method: projects.locations.reservations.assignments.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes a assignment. No expansion will happen.\n\nExample:\n\n- Organization `organizationA` contains two projects, `project1` and `project2`.\n- Reservation `res1` exists and was created previously.\n- assignments.create was used previously to define the following associations between entities and reservations: `\u003corganizationA, res1\u003e` and `\u003cproject1, res1\u003e`\n\nIn this example, deletion of the `\u003corganizationA, res1\u003e` assignment won't affect the other assignment `\u003cproject1, res1\u003e`. After said deletion, queries from `project1` will still use `res1` while queries from `project2` will switch to use on-demand mode.\n\n### HTTP request\n\n`DELETE https://bigqueryreservation.googleapis.com/v1/{name=projects/*/locations/*/reservations/*/assignments/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigquery`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]