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. This lets you update existing attributes, add new attributes, or delete existing attributes by omitting them from the request body.

HTTP request

POST https://apigee.googleapis.com/v1/{name=organizations/*/apiproducts/*}/attributes

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. API product name of the form: organizations/{organizationId}/apiproducts/{api_product_name}

Request body

The request body contains an instance of UpdateAllApiProductAttributeBody.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "attributes": [
    {
      object (ApiProductAttribute)
    }
  ]
}
Fields
attributes[]

object (ApiProductAttribute)

Authorization Scopes

Requires the following OAuth scope:

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

UpdateAllApiProductAttributeBody

JSON representation
{
  "attribute": [
    {
      object (ApiProductAttribute)
    }
  ]
}
Fields
attribute[]

object (ApiProductAttribute)

A list of attributes for an api products.