- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Name of the developer app key. Use the following structure in your request: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
action |
Approve or revoke the consumer key by setting this value to |
Request body
The request body contains an instance of DeveloperAppKey
.
Response body
If successful, the response body contains an instance of DeveloperAppKey
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform