- 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 Environment Available Settings
GET
https://api.servebolt.io/v1/environments/{id}/available-settings
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-settings' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Responses
🟢200OK
application/json
Body
data
object
required
id
integer
required
type
string
required
attributes
object
required
Example
{
"data": {
"id": 1785,
"type": "environment_available_settings",
"attributes": {
"phpVersions": [
"7.4.33",
"7.4.30"
],
"phpMemoryLimit": 256,
"phpMemoryLimitOptions": {
"128": true,
"256": true,
"512": false,
"768": false,
"1024": false
},
"phpExtensions": [],
"isLegacy": true
}
}
}
Modified at 2024-05-29 14:13:33