Agency Hosting: PHP
List available PHP versions for a website
Changed onLists the PHP versions an Agency Plan website can be switched to. The version the website is currently running is returned as settings.php.version by the website details endpoint.
get/api/agency-hosting/v1/websites/{website_uid}/php-settings/versions
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/agency-hosting/v1/websites/{website_uid}/php-settings/versions
- Auth: HTTP bearer
Path parameters
website_uidstring required
Example:zpwlGlp19
Agency Plan website UID
Response
Success response
Example response
[
{
"version": "8.2"
}
]Changes
- info
endpoint added
- info