The POST /environments/{environmentId}/resources/{resourceId}/attributes operation adds a new custom resource attribute. The request URL specifies the new attribute’s associated environment ID and resource ID.

The request body must specify values for the attribute name and value properties. The name value must be unique within the specified environment resource and cannot use any of the reserve names.