Undo an event website's last publish (organizers only)
site_undo_publishTakes back the last publish of one event website the person organizes: the version published before it goes live again or, when there is none, the site goes offline. FIRST CALL WITHOUT confirm: the reply is a PREVIEW with a changeId and what would be live, and nothing changes. Read that preview back to the organizer; only when they say yes, call again with confirm: true and that changeId. The draft is not touched. Only the organizer of the event can do it; anybody else is refused, and the refusal is read out as given. It requires a personal connector token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The site's id as site_list gives it. | |
| confirm | No | True applies a previewed change; absent, the change is only previewed and nothing changes. | |
| changeId | No | The id of a previewed change; required when confirm is true. | |
| eventIdOrName | Yes | The event id or the event name as the organizer spells it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| applied | No | ||
| changes | No | ||
| message | No | ||
| preview | No | ||
| changeId | No | ||
| liveLink | No | ||
| servedBy | No | ||
| versionsKept | No | ||
| draftPreviewLink | No |