sites

Update WordPress Version for Site

Update your WordPress version to one of our available versions. If no version is sent in the request your WordPress version will be toggled between latest (stable) or beta (when available).

put/sites/{site_id}/wordpress/version

Request

Path parameters

site_idinteger required

Request body

versionstring

Response

Successful Response

messagestring
dataobject

Example response

{
  "message": "Success",
  "data": {
    "id": 1,
    "created": "2022-02-17T20:50:05.000Z",
    "accountId": 2,
    "clonedFromId": null,
    "collaboratorsCount": 0,
    "datacenterCode": "DCA",
    "datacenterName": "Washington, DC, USA",
    "displayName": "your-site-name",
    "domainsCount": 0,
    "ecommerce": false,
    "favorite": false,
    "ipAddress": "199.16.172.70",
    "ipAddressOne": "199.16.172.70",
    "ipAddressTwo": "199.16.173.246",
    "name": "your-site-name",
    "state": "deploying",
    "url": "your-site-name.mystagingwebsite.com",
    "staging": true,
    "sandbox": false,
    "duplikit": false,
    "sftpDomain": "sftp.pressable.com",
    "phpVersion": "8.2",
    "wordpressVersion": "Current Stable Release (6.2)",
    "tags": [],
    "wpEnvironmentType": "staging",
    "lightWeight404": true,
    "multisiteSupport": true
  }
}

Changes

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