Unpublish a site (admin)
DELETE/api/sites/{path}
DELETE
/api/sites/{path}
Soft-deletes the site: takes it offline immediately by moving its files
to a quarantine directory, and sets deleted_at on the registry row.
Files and the row are permanently removed by the background purge after
the GOTIFACTS_DELETED_SITE_TTL (default 30 days). Re-publishing the
same slug before that deadline restores the site.
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”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