Docs

Set Collaborator Record Role Occupants

PUT /organizations/{orgId}/collaborator-records/{recordId}/roles/{roleDefinitionId}/occupants

PUT/organizations/{orgId}/collaborator-records/{recordId}/roles/{roleDefinitionId}/occupants

Sets who fills one of a collaborator'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 collaborator 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 CollaboratorDatabase_GetCollaboratorRecord). Needs Collaborator.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
recordIduuidRequired
roleDefinitionIduuidRequired

Request Body

FieldTypeRequiredDescription
crewIdsuuid[]Optional
collaboratorRecordIdsuuid[]Optional