Deletes an API proxy revision and all policies, resources, endpoints, and revisions associated with it. The API proxy revision must be undeployed before you can delete it.
Required. API proxy revision in the following format: organizations/{org}/apis/{api}/revisions/{rev}
If the API Proxy resource has the space attribute set, IAM permissions are checked against the Space resource path. To learn more, read the Apigee Spaces Overview.
Authorization requires the following IAM permission on the specified resource name:
apigee.proxyrevisions.delete
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ApiProxyRevision.
[[["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-03-24 UTC."],[[["This endpoint deletes an API proxy revision, including all associated policies, resources, endpoints, and other revisions."],["The API proxy revision must be undeployed before it can be deleted, and the request uses `DELETE` at the specified URL."],["The `name` parameter, specifying the API proxy revision to delete, is a required path parameter in the format `organizations/{org}/apis/{api}/revisions/{rev}`."],["The request body for this operation must be empty, and successful deletion will return an instance of `ApiProxyRevision` in the response body."],["Deleting an API proxy requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` for authorization and `apigee.proxyrevisions.delete` [IAM] permission."]]],[]]