sites
Update Site
Update the Display Name, PHP Version or WP Environment Type for a site.
put/sites/{id}
Request
- Base URLhttps://my.pressable.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Request body
Response
Successful Response
Example response
{
"message": "Success",
"data": {
"id": 500,
"created": "2022-01-31T20:05:33.000Z",
"accountId": 2,
"clonedFromId": null,
"collaboratorsCount": 1,
"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.0",
"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.