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

FieldTypeRequiredDescription
orgIduuidRequired
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
fieldClassIduuidOptional
optionsUpdateCrewAttributeDefinitionRequestOptionRequest[]Optional
useCasesstring[]Optional
hasExpirationbooleanOptional

UpdateCrewAttributeDefinitionRequestOptionRequest

FieldTypeDescription
iduuid| null
labelstring| null
typestring| null
valuestring| null
colorstring| null
iconstring| null
isArchivedboolean