Method: organizations.developers.attributes

Updates developer attributes.

This API replaces the existing attributes with those specified in the request. Add new attributes, and include or exclude any existing attributes that you want to retain or remove, respectively.

The custom attribute limit is 18.

Note: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (default). Any custom attributes associated with these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an ExpiresIn element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.

HTTP request

POST https://apigee.googleapis.com/v1/{parent=organizations/*/developers/*}/attributes

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Email address of the developer for which attributes are being updated. Use the following structure in your request: organizations/{org}/developers/{developerEmail}

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

  • apigee.developerattributes.createOrUpdateAll

Request body

The request body contains an instance of Attributes.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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