Update Invitation Access Role
PUT /crew/{crewId}/invitation/access-role
/crew/{crewId}/invitation/access-roleChanges the access role a pending invitation grants, without re-sending the email; null clears it (an event invitation then grants the org default role). Once the person has signed up the invitation is used and this answers 400; change their access with the access endpoints. accessRoleId comes from AccessRoles_GetAccessRoles and accessContextType is Collaborator (the default) or Event. Needs Crew.Manage on the person's collaborator or at the event, and a role needs Access.Manage at its context and only verbs the caller holds there. crewId comes from Crew_GetCrew (a member whose status is Invited). Organization crew (an organization token and an organization crew id): Changes the access role granted at the organization when a pending invitation is accepted; accessContextType is ignored. Needs Organization admin.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| crewId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| accessRoleId | uuid | Optional | |
| accessContextType | string | Optional |