Docs
Update Resource Attribute
PUT /resource-attributes/{attributeId}
PUT
/resource-attributes/{attributeId}Renames an attribute and replaces its option list; responseType cannot change. Send an existing option's id to keep it and omit the id for a new option. An option left out is removed, which is refused while a live variant pins it. Needs the event settings permission.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| options | UpdateResourceAttributeRequestOption[] | Optional |
UpdateResourceAttributeRequestOption
| Field | Type | Description |
|---|---|---|
| id | uuid| null | |
| label | string| null | |
| type | string| null | |
| value | string| null |