Required. Name of the API proxy in the following format:organizations/{org}/apis/{api}
If the API Proxy resource has thespaceattribute set, IAM permissions are checked against the Space resource path. To learn more, read theApigee Spaces Overview.
Authorization requires the followingIAMpermission on the specified resourcename:
apigee.proxies.delete
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance ofApiProxy.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis endpoint allows the deletion of an API proxy, including all associated components like endpoints and policies.\u003c/p\u003e\n"],["\u003cp\u003eThe API proxy must be undeployed before it can be deleted via this endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required and specifies the API proxy to delete in the format: \u003ccode\u003eorganizations/{org}/apis/{api}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this DELETE operation must be empty.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful deletion returns an instance of \u003ccode\u003eApiProxy\u003c/code\u003e, and the operation requires the \u003ccode\u003eapigee.proxies.delete\u003c/code\u003e IAM permission along with the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.apis.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes an API proxy and all associated endpoints, policies, resources, and revisions. The API proxy must be undeployed before you can delete it.\n\n### HTTP request\n\n`DELETE https://apigee.googleapis.com/v1/{name=organizations/*/apis/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ApiProxy](/apigee/docs/reference/apis/apigee/rest/v1/organizations.apis#ApiProxy).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]