Deletes a capacity commitment. Attempting to delete capacity commitment before its commitmentEndTime will fail with the error code google.rpc.Code.FAILED_PRECONDITION.
Required. Resource name of the capacity commitment to delete. E.g., projects/myproject/locations/US/capacityCommitments/123
Authorization requires the following IAM permission on the specified resource name:
bigquery.capacityCommitments.delete
Query parameters
Parameters
force
boolean
Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["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-01-09 UTC."],[[["This webpage outlines the process for deleting a capacity commitment via an HTTP DELETE request to a specified URL."],["The request requires a resource name in the path, which includes the project, location, and commitment ID."],["Authorization is required, specifically the `bigquery.capacityCommitments.delete` IAM permission, or the use of one of the two specified OAuth scopes."],["The request body must be empty, and the optional `force` query parameter allows for the deletion of commitments even if assignments exist."],["A successful deletion results in an empty JSON response body, while attempting to delete a commitment before its `commitmentEndTime` will result in a failed precondition error."]]],[]]