Removes an API product from an app's consumer key. After the API product is removed, the app cannot access the API resources defined in that API product.
Note: The consumer key is not removed, only its association with the API product.
Name of the API product in the developer app key in the following format: organizations/{org}/developers/{developerEmail}/apps/{app}/keys/{key}/apiproducts/{apiproduct}
Authorization requires the following IAM permission on the specified resource name:
apigee.appkeys.delete
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of DeveloperAppKey.
[[["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-08-28 UTC."],[[["\u003cp\u003eThis endpoint removes an API product from an app's consumer key, revoking the app's access to the API resources defined in that product.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a \u003ccode\u003eDELETE\u003c/code\u003e operation to a URL specified with gRPC Transcoding syntax, requiring a \u003ccode\u003ename\u003c/code\u003e path parameter indicating the API product to remove.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, meaning no additional data needs to be included in the request.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will contain a \u003ccode\u003eDeveloperAppKey\u003c/code\u003e instance, which is detailed in the \u003ccode\u003eDeveloperAppKey\u003c/code\u003e resource documentation.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the \u003ccode\u003eapigee.appkeys.delete\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.developers.apps.keys.apiproducts.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\nRemoves an API product from an app's consumer key. After the API product is removed, the app cannot access the API resources defined in that API product.\n\n**Note**: The consumer key is not removed, only its association with the API product.\n\n### HTTP request\n\n`DELETE https://apigee.googleapis.com/v1/{name=organizations/*/developers/*/apps/*/keys/*/apiproducts/*}`\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 [DeveloperAppKey](/apigee/docs/reference/apis/apigee/rest/v1/organizations.developers.apps.keys#DeveloperAppKey).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]