Set Org Crew Role Occupants
PUT /organizations/{orgId}/crew/{crewId}/roles/{roleDefinitionId}/occupants
/organizations/{orgId}/crew/{crewId}/roles/{roleDefinitionId}/occupantsSets 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
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required | |
| crewId | uuid | Required | |
| roleDefinitionId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| crewIds | uuid[] | Optional | |
| collaboratorRecordIds | uuid[] | Optional |