Adds an API product to a developer app key, enabling the app that holds the key to access the API resources bundled in the API product.
In addition, you can add attributes and scopes associated with the API product to the developer app key. The status of the key can be updated via "action" Query Parameter. None of the other fields can be updated via this API. This API replaces the existing attributes with those specified in the request. Include or exclude any existing attributes that you want to retain or delete, respectively. None of the other fields can be updated.
You can use the same key to access all API products associated with the app.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/developers/*/apps/*/keys/*}
Name of the developer app key. Use the following structure in your request: organizations/{org}/developers/{developerEmail}/apps/{app}/keys/{key}
Authorization requires the following IAM permission on the specified resource name:
apigee.appkeys.manage
Query parameters
Parameters
action
string
Approve or revoke the consumer key by setting this value to approve or revoke, respectively. The Content-Type header must be set to application/octet-stream.
[[["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-20 UTC."],[[["\u003cp\u003eThis API enables the addition of an API product to a developer app key, granting the app access to the resources within that API product.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage attributes for a developer app key using this API, which will replace any existing attributes with those specified in the request.\u003c/p\u003e\n"],["\u003cp\u003eA single key can be utilized to access multiple API products associated with the developer app.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request structure follows gRPC Transcoding syntax, utilizing a POST method and specific URL format for developer app key management.\u003c/p\u003e\n"],["\u003cp\u003eThe API requires the \u003ccode\u003eapigee.appkeys.manage\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,[]]