- 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 SSH Accesses
GET
https://api.servebolt.io/v1/environments/{id}/ssh-access
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//ssh-access' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Responses
🟢200OK
application/json
Body
data
array [object {3}]
required
id
integer
optional
type
string
optional
attributes
object
optional
Example
{
"data": [
{
"id": 240,
"type": "ssh_access",
"attributes": {
"sshkey_id": 82,
"vhost_id": 1785,
"status": "installed",
"expires_at": "2024-05-10 13:19:16+02",
"enabled": true,
"sshkeyEnabled": true,
"fingerprint": "d2:9c:a1:99:3d:e4:db:f2:38:27:6c:be:15:71:fb:5b",
"reason": "CLNT:client-added",
"customer": "Sergio"
}
}
]
}
Modified at 2025-06-25 09:04:20