Docs

Create Crew Attribute

POST /organizations/{orgId}/crew/attributes

POST/organizations/{orgId}/crew/attributes

Adds an attribute to the crew attribute library. type is Select, MultiSelect, Text, RichText, Number, Date, DateTime, Checkbox, Link, File, MultiFile, Collaborator, MultiCollaborator, Crew or MultiCrew and cannot be changed later; Select and MultiSelect need options, and other types take none. Returns no id, so read it from Crew_GetCrewAttributes, then place it on a type with Crew_AssignCrewTypeSectionAttribute. Needs Organization admin.

Path Parameters

FieldTypeRequiredDescription
orgIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
typestringOptional
optionsCreateCrewAttributeRequestOptionRequest[]Optional

CreateCrewAttributeRequestOptionRequest

FieldTypeDescription
labelstring| null
typestring| null
valuestring| null