GET/organizations/{orgId}/crew/{crewId}/delete-impact
Previews deleting an organization crew record: the events it is on (each loses the person, with their task assignments, role occupancies and
event values), anything that blocks the delete (the last occupant of a required role on an event), and how many Crew values name the person.
crewId comes from OrgCrew_GetCrew. Needs Crew.Manage at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|
| orgId | uuid | Required | |
| crewId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| eventCount | integer | |
| events | CrewDeleteImpactResponseEventRef[]| null | |
| blockers | CrewDeleteImpactResponseBlocker[]| null | |
| deletes | CrewDeleteImpactResponseCounts | |
CrewDeleteImpactResponseEventRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
CrewDeleteImpactResponseBlocker
| Field | Type | Description |
|---|
| eventId | uuid | |
| eventName | string| null | |
| name | string| null | |
CrewDeleteImpactResponseCounts
| Field | Type | Description |
|---|
| taskAssignments | integer | |
| roleOccupants | integer | |
| roleSlots | integer | |
| referenceValues | integer | |
| groupMembershipCount | integer | |