Docs
Update Crew Attribute
PUT /organizations/{orgId}/crew/attributes/{attributeId}
PUT
/organizations/{orgId}/crew/attributes/{attributeId}Renames a crew attribute and replaces its option list; its type cannot change. Send each existing option's id from OrgCrew_GetCrewAttributes so a renamed option keeps the values that use it; an option without an id is new, and one left out is removed. Needs Crew.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required | |
| attributeId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| fieldClassId | uuid | Optional | |
| options | UpdateCrewAttributeDefinitionRequestOptionRequest[] | Optional | |
| useCases | string[] | Optional | |
| hasExpiration | boolean | Optional |
UpdateCrewAttributeDefinitionRequestOptionRequest
| Field | Type | Description |
|---|---|---|
| id | uuid| null | |
| label | string| null | |
| type | string| null | |
| value | string| null | |
| color | string| null | |
| icon | string| null | |
| isArchived | boolean |