List SSH keys
GET
https://api.vpsbg.eu/v1/ssh-keysList all SSH Keys saved in your account.
Request
Query Params
page
integer
optional
Which page of paginated results to return.
Request samples
Responses
List of SSH keys(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array[object (SSH Key) {3}]
optional
id
integer
optional
name
string
optional
key
string
optional
links
object
optional
first
string
optional
last
string
optional
prev
null
optional
next
null
optional
meta
object
optional
current_page
integer
optional
from
integer
optional
last_page
integer
optional
links
array [object {3}]
optional
path
string
optional
per_page
integer
optional
to
integer
optional
total
integer
optional
ExampleExample 1
{
"data": [
{
"id": 87,
"name": "test",
"key": "ssh-rsa test"
}
],
"links": {
"first": "https://api.vpsbg.eu/v1/ssh-keys?page=1",
"last": "https://api.vpsbg.eu/v1/ssh-keys?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "pagination.previous",
"active": false
},
{
"url": "https://api.vpsbg.eu/v1/ssh-keys?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "pagination.next",
"active": false
}
],
"path": "https://api.vpsbg.eu/v1/ssh-keys",
"per_page": 30,
"to": 1,
"total": 1
}
}
Last modified: 3 months ago