Docs
Create Event Role
POST /eventRoles
POST
/eventRolesAdds a role to the library and returns its id. The filler kind (Crew or Collaborator) and the cardinality (Single or Multi) are fixed at creation; only the name can change afterwards. An optional availability list narrows the people its pickers offer. accessRoleId names the access role whoever fills this role holds at the event; from AccessRoles_GetAccessRoles. Org admins only. To put the role on an event type, pass the new id to EventTypes_AssignRole. Requires Event.Configure at the organization.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| fillerKind | string | Optional | |
| cardinality | string | Optional | |
| availability | CreateEventRoleRequestAvailabilityRequest | Optional | |
| accessRoleId | uuid | Optional |
CreateEventRoleRequestAvailabilityRequest
| Field | Type | Description |
|---|---|---|
| recordIds | uuid[]| null |
Response
Type: uuid