pagehive

delete_site

Only the owner can delete a site.

SitesChanges dataAll plans

What it does

Only the owner can delete a site. This tool always fails with validation_failed and reason owner_only. The owner deletes it in /hive by typing the subdomain. Deleting there removes the site and its files and reserves the subdomain for 30 days.

Plans

Works on every plan: Free, Basic, Pro and Ultra.

Parameters

NameTypeAbout
site_idrequiredstringThe id of the site. list_sites gives the ids of your sites.

Example

Call delete_site with these arguments:

{
  "site_id": "01a1…"
}

Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.

Related guides