Skip to content

Unpublish a site

DELETE
/ingest/sites/{path}

Requires the unpublish capability on the target group. Soft-deletes the site: takes it offline immediately and sets deleted_at. Files are retained in a quarantine directory until the background purge removes them after the configured TTL (default 30 days). Re-publishing the same slug before the deadline restores the site.

path
required
string

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

Unpublished (soft-deleted).

Missing or invalid credentials.

object
error
required
string

Authenticated, but not permitted for this target/capability.

object
error
required
string

No such site, key, or connection.

object
error
required
string