Permanently delete a quarantined site
POST
/ingest/sites/{path}/purge
const url = 'https://example.com/ingest/sites/example/purge';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/ingest/sites/example/purge \ --header 'Authorization: Bearer <token>'Requires the purge capability on the target group. 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 (unpublished) first — calling purge on a live site returns
404. 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"}