Docs

Create Crew Role Definition

POST /organizations/{orgId}/crew-role-definitions

POST/organizations/{orgId}/crew-role-definitions

Adds a role to the crew role library and returns its id. fillerKind (Crew or Collaborator) and cardinality (Single or Multi) are fixed at creation. useCases (Org, Event, or both) says whether the role is filled on the crew record, on each event, or both; it defaults to Org. An optional availability list narrows who its pickers offer. Place it on a type with Crew_AssignCrewTypeRole. Needs Crew.Configure at the organization.

Path Parameters

FieldTypeRequiredDescription
orgIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
iconstringOptional
colorstringOptional
fillerKindstringOptional
cardinalitystringOptional
useCasesstring[]Optional
availabilityCreateCrewRoleDefinitionRequestAvailabilityInfoOptional

CreateCrewRoleDefinitionRequestAvailabilityInfo

FieldTypeDescription
recordIdsuuid[]| null

Response

Type: uuid