Docs
Get Area Role Definitions
GET /organizations/{orgId}/area-role-definitions
GET
/organizations/{orgId}/area-role-definitionsLists the area role library: crew- or collaborator-filled slots with cardinality, use cases and availability, and the access role (accessRoleId, accessRoleName) whoever fills the role holds at the area. Archived roles are left out unless includeArchived is true. Needs Collaborator.View at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| includeArchived | boolean | Optional |
Response
Type: GetAreaRoleDefinitionResponse[]
GetAreaRoleDefinitionResponse
| Field | Type | Description |
|---|---|---|
| accessRoleId | uuid| null | |
| accessRoleName | string| null | |
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| isArchived | boolean | |
| useCases | string[]| null | |
| availability | GetHostRoleDefinitionResponseAvailabilityInfo| null |
GetHostRoleDefinitionResponseAvailabilityInfo
| Field | Type | Description |
|---|---|---|
| recordIds | uuid[]| null |