deleted-sites

List Deleted Sites

List the deleted sites you can restore, with the time each one can be restored by. A site can be restored for up to 14 days after it was deleted, as a new site built from its files and database. The list covers your own account and every account that has given you the Create New Sites permission; each site's accountId says which account it belongs to.

get/deleted-sites

Request

Query parameters

pageinteger
per_pageinteger

Response

Successful Response

messagestring
dataobject[]
pageobject

Example response

{
  "message": "Success",
  "data": [
    {
      "id": 123456,
      "accountId": 2,
      "name": "my-old-site",
      "staging": false,
      "sandbox": false,
      "datacenterCode": "DFW",
      "deletedAt": "2026-10-21T15:42:00Z",
      "restoreBy": "2026-11-04T15:42:00Z",
      "nameInUse": false
    }
  ],
  "page": {
    "currentPage": 1,
    "nextPage": null,
    "lastPage": 1,
    "perPage": 20,
    "totalItems": 1
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.