- 👋 Hello
- API Introduction
- API Reference
- User
- Balance
- Affiliate
- Invoices
- Support
- SSH Keys
- Servers
- Scale
- Addons
- Rescue
- List plans
- List servers
- Server status
- Get a server
- Server metrics
- Bandwidth
- Deploy new server
- Start a server
- Restart a server
- Stop a server
- Power off
- Cancel server
- Undo cancel request
- Change password
- Update hostname
- Update SSH Keys
- Modify ISOs
- Restore
- Renew server
- Reinstall Server
- Change Primary IP
- Calculate renew amount
- Plans
- Snapshots
- Backups
- Server Images
- Floating IPs
- IP Addresses
- Network Protection
- Orders
- ISOs
Get an SSH Key
GET
https://api.vpsbg.eu/v1/ssh-keys/{id}
SSH Keys
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
Default:
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.vpsbg.eu/v1/ssh-keys/' \
--header 'Accept;'
Responses
🟢200Return data regarding the SSH key.
application/json
Body
id
integerÂ
optional
name
stringÂ
optional
fingerprint
stringÂ
required
Example:
c3:02:91:64:1f:e3:da:4b:7e:9e:33e:14:qf:4d:39:73
key
stringÂ
optional
servers
array [object {2}]Â
required
id
integerÂ
required
hostname
stringÂ
required
Example
{
"id": 90,
"name": "Example SSH Key",
"fingerprint": "c3:02:91:64:1f:e3:da:4b:7e:9e:33e:14:qf:4d:39:73",
"key": "ssh-rsa AA... user@example.com",
"servers": [
{
"id": 2922,
"hostname": "ubuntu-1gb"
},
{
"id": 2930,
"hostname": "debian-1gb"
}
]
}
🟠401Unauthorized
🔴500Server Error
Modified at 2025-06-20 08:57:05