- Introduction
- Auth
- Bolts
- Sites
- Git
- Domains
- Logs
- List SitesGET
- Create SitePOST
- Get SiteGET
- Update SitePATCH
- Delete SiteDELETE
- Purge Site CachePOST
- List Site CronjobsGET
- Get Site StatisticsGET
- Get Environment Available SettingsGET
- Get Site Available PHP VersionsGET
- Get Site UsageGET
- Get Site SSH AccessesGET
- Create Site SSH AccessPOST
- Remove Site SSH AccessDELETE
- List Site DatabasesGET
- Toggle Site Dev ModePOST
- Site Install WordpressPOST
- Site Optimize WordpressPOST
- Locations
- Databases
- Cronjobs
- SSH Keys
- Certificates
- Billing
- Profile
Get Site Available PHP Versions
GET
https://api.servebolt.io/v1/environments/{id}/available-php-versions
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
string
required
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.servebolt.io/v1/environments//available-php-versions' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Responses
🟢200OK
application/json
Body
array[string]
optional
Example
["7.4.33","7.4.30"]
Modified at 2025-06-25 09:03:59