Stats
Restore a deleted site from the trash
Admin-only. Recreates the site with its original id (so its analytics re-attach) and settings, under the original name or the one given, and copies its files back. The site comes back switched off with no renewal dates — or suspended, if it was suspended for abuse. The account may go past its site limit; overSlotLimit says so. The trash entry is then removed. Records a site.restored_from_trash activity.
post/stats/deleted-sites/{id}/restore
Request
- Base URL: https://api.nippy.host
- URL: https://api.nippy.host/stats/deleted-sites/{id}/restore
- Auth: bearer (a scheme the document does not define)
Path parameters
idstring required
The original site UUID
Request body
Example request
{
"subdomain": "my-site-restored"
}Response
Changes
No recorded changes to this operation across all 1 revision of this API.