Required. Resource name of the subscription to revoke. e.g. projects/123/locations/US/subscriptions/456
Request body
The request body contains data with the following structure:
JSON representation
{"revokeCommercial": boolean}
Fields
revokeCommercial
boolean
Optional. If the subscription is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions accidentally.
[[["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-05-05 UTC."],[[["This webpage documents how to revoke a subscription using a `POST` HTTP request to the specified URL."],["The `name` parameter, which is the resource name of the subscription to revoke, is a required part of the URL path."],["The request body must be empty when revoking a subscription."],["If the request is successful, the response body will also be empty."],["Revoking a subscription requires either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]