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 to a developer app key. 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.
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-03-07 UTC."],[[["This API enables the addition of an API product to a developer app key, granting the app access to the resources within that API product."],["You can manage attributes for a developer app key using this API, which will replace any existing attributes with those specified in the request."],["A single key can be utilized to access multiple API products associated with the developer app."],["The HTTP request structure follows gRPC Transcoding syntax, utilizing a POST method and specific URL format for developer app key management."],["The API requires the `apigee.appkeys.manage` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope for authorization."]]],[]]