v1

latestSwagger 2.02026-07-13137761.0 MB
Asset attribute option

Update/create an asset attribute option for a given asset family

This endpoint allows you to update a given option for a given attribute and a given asset family. Learn more about the <a href="/documentation/update.html#update-behavior">Update behavior</a>. Note that if the option does not already exist for the given attribute of the given asset family, it creates it.

patch/api/rest/v1/asset-families/{asset_family_code}/attributes/{attribute_code}/options/{code}

Path parameters

asset_family_codestring required

Code of the asset family

attribute_codestring required

Code of the attribute

codestring required

Code of the resource

Request body

codestring required

Attribute's option code

Example request

{
  "code": "small",
  "labels": {
    "en_US": "S",
    "fr_FR": "S"
  }
}

Response

Created