sites

Enable Site

This only works for sites that are currently disabled. Enabling a site returns the site to a live state allowing for normal html responses, removing the 480 Temporarily Unavailable response for users.

put/sites/{id}/enable

Request

Path parameters

idinteger required

Response

Successful Response

messagestring
dataobject

Example response

{
  "message": "Success",
  "data": {
    "id": 500,
    "created": "2022-01-31T20:05:33.000Z",
    "accountId": 2,
    "clonedFromId": null,
    "collaboratorsCount": 1,
    "datacenterCode": "N/A",
    "datacenterName": "N/A",
    "displayName": "five hundred site",
    "domainsCount": 0,
    "ecommerce": false,
    "edgeCache": "disabled",
    "edgeCacheDefensiveMode": false,
    "edgeCacheDefensiveModeUntil": null,
    "favorite": false,
    "ipAddress": "79.127.25.163",
    "ipAddressOne": "79.127.25.163",
    "ipAddressTwo": "235.255.236.118",
    "name": "busy-nose-1d7f431a88",
    "state": "live",
    "url": "busy-nose-1d7f431a88.mystagingwebsite.com",
    "staging": false,
    "sandbox": false,
    "duplikit": false,
    "sftpDomain": "sftp.pressable.com",
    "phpVersion": "8.2",
    "wordpressVersion": "Current Stable Release (6.2)",
    "tags": [
      {
        "id": 354,
        "name": "Clannad"
      }
    ],
    "wpEnvironmentType": "development",
    "lightWeight404": false,
    "multisiteSupport": false
  }
}

Changes

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