This API v3 documentation is currently still on progress. For any issue, please contact support@runcloud.io
Authorization: Bearer ********************
{
"phpVersion": "php83rc"
}
curl --location -g --request PATCH 'https://manage.runcloud.io/api/v3/servers/{{serverId}}/php/cli' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"phpVersion": "php83rc"
}'
{
"id": 56565,
"name": "lalala server",
"provider": "Akamai (Linode)",
"stack": "nginx",
"ipAddress": "2.2.2.2",
"country_iso_code": "JP",
"os": "Ubuntu",
"osVersion": "focal",
"connected": true,
"online": true,
"agentVersion": "2.8.7-1+ubuntu20.04+11",
"phpCLIVersion": "php83rc",
"softwareUpdate": false,
"securityUpdate": true,
"transferStatus": "AVAILABLE",
"created_at": "2024-07-09 06:56:05",
"tags": []
}