Google is committed to advancing racial equity for Black communities. See how.

Method: organizations.apiproducts.attributes

Updates or creates API product attributes. This API replaces the current list of attributes with the attributes specified in the request body. In this way, you can update existing attributes, add new attributes, or delete existing attributes by omitting them from the request body.

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

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. API product name in the following form:


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:


Try it!