Websites

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.

delete/websites/{websiteId}

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websites/{websiteId}
  • Auth: HTTP bearer

Path parameters

websiteIdstring required

Response

Confirmation that the website was deleted.

deletedtrue required

Always true once the website is in the trash.

Changes

No recorded changes to this operation across all 1 revision of this API.