Archive Event
Archive the event, unless permanent=true. Archiving is not a
delete: its questions and poll results are the record of what a room
asked, and an overage already billed points at the row. An archived
event leaves the list (see archived on GET /events), keeps its
code and everything in it, and comes back with
POST /events/{eventId}/restore.
permanent=true deletes the event for good, and cannot be
undone. Every question, vote, poll, poll answer and participant in
it goes with it, as the console’s Delete event does. Archive
instead unless the record really should go. Needs events:write;
a session deletes only an event that person may run.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Query parameters
true deletes the event and everything in it, irreversibly.
Left out or false, it is archived. Anything else is
422 validation_error.