Permanently delete a quarantined site (admin)
DELETE
/api/sites/deleted/{path}
const url = 'https://example.com/api/sites/deleted/example';const options = {method: 'DELETE', headers: {'Remote-User': '<Remote-User>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/sites/deleted/example \ --header 'Remote-User: <Remote-User>'Immediately and permanently destroys the site’s files and removes its
database row, bypassing the retention TTL. Only succeeds if the site has
been soft-deleted — returns 404 for live sites. This action is
irreversible.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”path
required
string
Full site path — group segments (0–2) plus the slug, e.g. claude/app or demo.
Responses
Section titled “ Responses ”Purged.
Missing or invalid credentials.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}Authenticated, but not permitted for this target/capability.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}No such site, key, or connection.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}