Method: organizations.appgroups.apps.update

Updates the details for an AppGroup app. In addition, you can add an API product to an AppGroup app and automatically generate an API key for the app to use when calling APIs in the API product.

If you want to use an existing API key for the API product, add the API product to the API key using the keys.updateAppGroupAppKey API.

Using this API, you cannot update the app name, as it is the primary key used to identify the app and cannot be changed.

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.

HTTP request

PUT https://apigee.googleapis.com/v1/{name=organizations/*/appgroups/*/apps/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the AppGroup app. Use the following structure in your request: organizations/{org}/appgroups/{app_group_name}/apps/{app}

Authorization requires the following IAM permission on the specified resource name:

  • apigee.appgroupapps.manage

Query parameters

Parameters
action

string

Approve or revoke the consumer key by setting this value to approve or revoke. The Content-Type header must be set to application/octet-stream, with empty body.

Request body

The request body contains an instance of AppGroupApp.

Response body

If successful, the response body contains an instance of AppGroupApp.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform