Stats

Permanently delete one trash entry

Admin-only. Deletes the files, then the row. The body repeats the site name as a confirmation. Records a site.purged activity.

delete/stats/deleted-sites/{id}

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/stats/deleted-sites/{id}
  • Auth: bearer (a scheme the document does not define)

Path parameters

idstring required

The original site UUID

Request body

subdomainstring required

The site name, typed again as a confirmation. Must equal the name of the trash entry.

Example request

{
  "subdomain": "my-site"
}

Response

countnumber required

Entries deleted for good.

totalBytesnumber required

Bytes freed.

failednumber required

Entries a storage error kept; a later purge retries them.

Changes

No recorded changes to this operation across all 1 revision of this API.