Delete site
delete_siteDelete a site by id: marks it deleted, purges its content and version history, deletes the records and collections it holds (a waitlist or contact form included), and makes the share link non-viewable. This cannot be undone and nothing can read any of it back afterwards, so read what matters first: list_site_collections for what it holds, then get_site_content and export_site_data. Not a way to fix a broken address: create_share_link puts a page back on its address without destroying any of this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The id of the site to delete | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |