Delete a website
Soft-deletes only the website: it moves to the trash for 30 days and disappears from the default list. Its custom domains are disconnected, which frees the website’s plan slot and releases each hostname for use on another website; restoring the website does not restore them. CMS content, assets, source history, and deployments keep their existing lifecycle state but become inaccessible through the deleted parent. After the purge deadline shown by websites.list with status=deleted, the website and its dependent data are permanently deleted. Deleting a website that is already in the trash returns 404. Restore it before expiry with POST /websites/{websiteId}/restore.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Path Parameters
1Response
Confirmation that the website was deleted.
Always true once the website is in the trash.