Method: organizations.developers.apps.keys.replaceDeveloperAppKey

Updates the scope of an app. Note that this API sets the scopes element under the apiProducts element in the attributes of the app.

HTTP request

PUT 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}

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