Docs

Get Crew Delete Impact

GET /organizations/{orgId}/crew/{crewId}/delete-impact

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

FieldTypeRequiredDescription
orgIduuidRequired
crewIduuidRequired

Response

FieldTypeDescription
eventCountinteger
eventsCrewDeleteImpactResponseEventRef[]| null
blockersCrewDeleteImpactResponseBlocker[]| null
deletesCrewDeleteImpactResponseCounts

CrewDeleteImpactResponseEventRef

FieldTypeDescription
iduuid
namestring| null

CrewDeleteImpactResponseBlocker

FieldTypeDescription
eventIduuid
eventNamestring| null
namestring| null

CrewDeleteImpactResponseCounts

FieldTypeDescription
taskAssignmentsinteger
roleOccupantsinteger
roleSlotsinteger
referenceValuesinteger
groupMembershipCountinteger