Docs
Create Area Type
POST /organizations/{orgId}/area-types
POST
/organizations/{orgId}/area-typesAdds an area type with one Details section and returns its id. An area holds one type (R-2). Place attributes with OrgAreas_AssignAreaTypeSectionAttribute and roles with OrgAreas_AssignAreaTypeRole. Needs Area.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| icon | string | Optional | |
| color | string | Optional |
Response
Type: uuid