Skip to content

Permanently delete a quarantined site

POST
/ingest/sites/{path}/purge
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.

path
required
string

Full site path — group segments (0–2) plus the slug, e.g. claude/app or demo.

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"
}