Delete events this ministry owns (D28)
DELETE/ministries/ministries/:ministryId/events
The Calendar tab's Delete events. Every id must be an event whose event_ministry_id is this ministry, and each is deleted through core's event delete in one transaction - all or none. Refused while another ministry has volunteers assigned (pending or accepted) on any of them unless the caller holds Add Events, and whenever core refuses one (people checked in, a kiosk assigned).
Request​
Responses​
- 200
- 400
- 401
- 403
- 404
- 409
Deleted
eventIds is missing, empty or not a list of ids
Not authenticated
Not a coordinator of this ministry, an event another ministry or nobody owns, a self-service login, or V2 is not enabled
No such ministry or event
Another ministry has volunteers on one of the events (ministries names them), or core refused one (the reason and eventId); nothing is deleted
Can't find what you need? Ask in Discord, or open an issue on the ChurchCRM repository.