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-07-02 UTC."],[[["\u003cp\u003eThis webpage documents how to revoke a subscription using a \u003ccode\u003ePOST\u003c/code\u003e HTTP request to the specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e parameter, which is the resource name of the subscription to revoke, is a required part of the URL path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty when revoking a subscription.\u003c/p\u003e\n"],["\u003cp\u003eIf the request is successful, the response body will also be empty.\u003c/p\u003e\n"],["\u003cp\u003eRevoking a subscription 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,[]]