Sites

Delete a site

Permanently deletes the site: its content, asset files, addresses and directory entries. This cannot be undone. Only the site's owner can do it, and a guest token cannot. When purge is queued, the site is already gone and its stored files are being removed in the background.

delete/api/v1/sites/{slug}

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/sites/{slug}
  • Auth: HTTP bearer

Path parameters

slugstring required
Example:acme-studio

Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.

Response

Deleted.

okboolean required
purge'done' | 'queued'

queued: the site is already gone everywhere it can be seen, and its stored files are still being removed in the background. done: nothing is left.

Changes

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