v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132073100.2 KB
projects

Revokes a given subscription.

post/v1/{+name}:revoke

Path parameters

namestring required

Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456

Request body

revokeCommercialboolean

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.

Response

Successful response