Method: organizations.developers.apps.keys.updateDeveloperAppKey

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. You can also use this API to add attributes to the key. Use this API to add a new API product to an existing app. After adding the API product, you can use the same key to access all API products associated with the app. You must include all existing attributes, whether or not you are updating them, as well as any new attributes that you are adding.

HTTP request

POST https://apigee.googleapis.com/v1/{name=organizations/*/developers/*/apps/*/keys/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Resource name of a company app key organizations/{org}/developers/{developer}/apps/{app}/keys/{key}

Query parameters

Parameters
action

string

Set the action to approve or revoke.

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