delete_site
Take down a page now: link goes dead instantly, content retained for 30 days and restorable at the same URL. After 30 days, content is permanently destroyed.
Instructions
Take a page down. The link goes dead immediately for everyone holding it, and the content is kept for 30 days: restore_site puts it back at the same URL, with the same id, token, slug and read history, any time in that window. After the 30 days the content is destroyed and cannot be recovered by anyone. So this is undoable, but it is not a preview: tell the user their link stops working now. On the free plan deleting does not hand back a lifetime page slot, because that cap counts publishes rather than live pages. Deleting a page that is already down is not an error: the response comes back with already_deleted: true and the same restorable_until. Read restorable_until (unix seconds) off the response before promising a restore: it is absent when the delete was not recoverable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_slug | Yes |