Docs
Update Area Attribute
PUT /area-attributes/{attributeId}
PUT
/area-attributes/{attributeId}Renames an area attribute and replaces its options (send each kept option's id). Sending useCases drops values that no longer fit; preview with OrgAreas_GetAreaAttributeUseCaseImpact first. Event-only areas keep every value. fieldClassId sets the field class (org admins only, ignored otherwise; null leaves it, the Basic class's id moves it back to Basic). Needs Area.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| fieldClassId | uuid | Optional | |
| options | UpdateAreaAttributeRequestOptionRequest[] | Optional | |
| useCases | string[] | Optional | |
| hasExpiration | boolean | Optional |
UpdateAreaAttributeRequestOptionRequest
| Field | Type | Description |
|---|---|---|
| id | uuid| null | |
| label | string| null | |
| type | string| null | |
| value | string| null | |
| color | string| null | |
| icon | string| null | |
| isArchived | boolean |