Docs

Set Org Crew Role Occupants

PUT /organizations/{orgId}/crew/{crewId}/roles/{roleDefinitionId}/occupants

PUT/organizations/{orgId}/crew/{crewId}/roles/{roleDefinitionId}/occupants

Sets who fills one of a crew record's Org or Both role slots (set semantics: the slot ends holding exactly crewIds and collaboratorRecordIds, org ids of this organization). Every event reads an Org slot live; a Both slot is copied onto an event when the person is added there. A Single role takes one occupant; archived, blacklisted and vendor-supplied people are refused, and a role with options takes only those. The role must be placed by a type the record holds (roles in Crew_GetCrewRecord). Needs Crew.Edit at the organization. Clearing a required value, answer or last occupant is a 400 whose missingRequired names it as { kind, id, name, level }; other edits to an incomplete record succeed.

Path Parameters

FieldTypeRequiredDescription
orgIduuidRequired
crewIduuidRequired
roleDefinitionIduuidRequired

Request Body

FieldTypeRequiredDescription
crewIdsuuid[]Optional
collaboratorRecordIdsuuid[]Optional