- Introduction
- Auth
- Bolts
- Environments
- Git
- Domains
- Logs
- List Environments
- Create Environment
- Get Environment
- Update Environment
- Delete Environment
- Purge Environment Cache
- List Environment Cronjobs
- Get Environment Statistics
- Get Environment Available Settings
- Get Environment PHP Versions
- Get Environment Usage
- Get Environment SSH Accesses
- Create Environment SSH Access
- Remove Environment SSH Access
- List Environment Databases
- Toggle Environment Dev Mode
- Environment Install Wordpress
- Environment Optimize Wordpress
- Locations
- Databases
- Cronjobs
- SSH Keys
- Certificates
- Billing
- Profile
Available PHP Versions
GET
https://api.servebolt.io/v1/bolts/{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
integer
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/bolts//available-php-versions' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Responses
🟢200OK
application/json
Body
array[string]
optional
Example
[
"8.3",
"8.2",
"8.1",
"8.0",
"7.4"
]
Modified at 2024-05-29 13:04:27