Hosting: PHP
Update PHP version
Changes the PHP version of the website.
Use the Get PHP details endpoint to see the versions available for the website.
patch/api/hosting/v1/accounts/{username}/websites/{domain}/php/version
Path parameters
usernamestring required
Example:u123456789
domainstring required
Example:mydomain.tld
Domain name
Request body
Example request
{
"version": "8.1"
}Response
Success empty response
Example response
{
"message": "Request accepted"
}