/api/v2/ssh-keys List the caller's account SSH-key inventory used when ordering, rebuilding, or resetting SSH access on VPS instances. This is not the shared-hosting authorized-key list; use /api/v2/shared-hosting/{accountId}/ssh-keys for hosting-account SSH access.
read:vm
Authenticate with an API key in the Authorization: Bearer <token> header.
limit integer · min: 1 · max: 100 · default: 20
· Example: 20 Page size from 1 to 100. Defaults to 20. Values above 100 are rejected with 400 invalid_pagination_limit.
cursor string
· Example: eyJsYXN0SWQiOiJzc2hfMDFoeGEzYjRjNWQ2ZTdmOGc5aDBqMWsybTMifQ Opaque cursor from nextCursor for the next page.
Authorization Bearer <token> Accept application/json data array<object> data[].id string required
· Example: ssh_01hxa3b4c5d6e7f8g9h0j1k2m3 data[].displayId string
· Example: deploy-key Compatibility display fallback on VPS-scoped SSH-key reads. Prefer name and fingerprint.
data[].name string required
· Example: deploy-key data[].publicKey string required
· Example: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE9wZW5BUElFeGFtcGxlS2V5TWF0ZXJpYWwxMjM0 ops@exampl... data[].fingerprint string · nullable required
· Example: SHA256:8pQ3ExampleFingerprintForDocsOnly Nullable: may be null when not applicable.
data[].keyType string · enum required
· Example: ed25519 rsa ed25519 ecdsa dsa unknown data[].createdAt string · nullable required
· Example: null Nullable: may be null when not applicable.
data[].lastUsedAt string · nullable
· Example: null Only present on VPS-scoped SSH-key inventory when upstream reports last use.
data[].actions object Present on the account-level SSH-key inventory.
data[].actions.canRename object data[].actions.canRename.allowed boolean required
· Example: true data[].actions.canRename.reason string · nullable required
· Example: null Nullable: may be null when not applicable.
data[].actions.canRename.code string · nullable
· Example: pending_order Machine-readable reason code when an action is blocked.
data[].actions.canDelete object data[].actions.canDelete.allowed boolean required
· Example: true data[].actions.canDelete.reason string · nullable required
· Example: null Nullable: may be null when not applicable.
data[].actions.canDelete.code string · nullable
· Example: pending_order Machine-readable reason code when an action is blocked.
hasMore boolean
· Example: false nextCursor string · nullable
· Example: null type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object Retry-After seconds plus X-RateLimit-* headers. 10 fields type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object https://cloud.hostup.se/api/v2/ssh-keys curl -X GET "https://cloud.hostup.se/api/v2/ssh-keys" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" {
"data": [
{
"id": "ssh_01hxa3b4c5d6e7f8g9h0j1k2m3",
"name": "deploy-key",
"publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE9wZW5BUElFeGFtcGxlS2V5TWF0ZXJpYWwxMjM0 ops@example.com",
"fingerprint": "SHA256:8pQ3ExampleFingerprintForDocsOnly",
"keyType": "ed25519",
"createdAt": null,
"actions": {
"canRename": {
"allowed": true,
"reason": null
},
"canDelete": {
"allowed": true,
"reason": null
}
}
}
],
"hasMore": false,
"nextCursor": null
}