Docs
Create Crew Attribute
POST /organizations/{orgId}/crew/attributes
POST
/organizations/{orgId}/crew/attributesAdds 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
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| type | string | Optional | |
| options | CreateCrewAttributeRequestOptionRequest[] | Optional |
CreateCrewAttributeRequestOptionRequest
| Field | Type | Description |
|---|---|---|
| label | string| null | |
| type | string| null | |
| value | string| null |