- Introduction
- Auth
- Bolts
- Sites
- Git
- Domains
- Logs
- List Sites
- Create Site
- Get Site
- Update Site
- Delete Site
- Purge Site Cache
- List Site Cronjobs
- Get Site Statistics
- Get Environment Available Settings
- Get Site Available PHP Versions
- Get Site Usage
- Get Site SSH Accesses
- Create Site SSH Access
- Remove Site SSH Access
- List Site Databases
- Toggle Site Dev Mode
- Site Install Wordpress
- Site Optimize Wordpress
- Locations
- Databases
- Cronjobs
- SSH Keys
- Certificates
- Billing
- Profile
Get SSH Key
GET
https://api.servebolt.io/v1/ssh-keys/{id}
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/ssh-keys/' \
--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": 82,
"type": "ssh_keys",
"attributes": {
"customer": "Sergio",
"creator": "Sergio",
"customerId": 2004,
"enabled": true,
"keyType": "Ed25519",
"keyLength": 256,
"sshkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIERMy5Ap2Xrk/zUKAI+IQ/uyM+7PuTzPtzxVGa1BMur+ sergio@air.local",
"comment": "aaa",
"fingerprint": "d2:9c:a1:99:3d:e4:db:f2:38:27:6c:be:15:71:fb:5b",
"createdAt": "2023-11-10T11:20:54+01:00"
}
}
}
Modified at 2024-05-29 10:01:21