Servebolt API (v1)
Submit feedback
Submit feedback
  1. SSH Keys
  • Introduction
  • Auth
    • Signup
      POST
    • Login
      POST
    • User Info
      GET
    • Heartbeat
      GET
    • Refresh Token
      POST
    • Reset Password
      POST
    • Resend SMS verification code
      POST
    • Verify your phone number
      POST
    • MFA Challenge (OTP)
      POST
  • Bolts
    • Access
      • Invite User Contact
      • List Contacts
      • Update Contact Role
      • Delete Contact
    • Databases
      • List Bolt Databases
      • Get Bolt Database
      • Create Bolt Database
      • Update Bolt Database
      • Delete Bolt Database
    • Statistics
      • Dynamic Requests Statistics
      • TTFB Statistics
      • Storage Statistics
      • Content Type Statistics
      • Cache Statistics
      • Sites Dynamic Requests Statistics
      • Sites TTFB Statistics
      • Sites Storage Statistics
    • List Bolts
      GET
    • Bolt Name Validate
      POST
    • Available CMS
      GET
    • Create Bolt
      POST
    • Get Bolt
      GET
    • Get Bolt Sites
      GET
    • Update Bolt
      PUT
    • Archive Bolt
      DELETE
    • Available PHP Versions
      GET
    • Get Bolt Subscription
      GET
    • Bolt Usage
      GET
    • Update Bolt Quota
      POST
    • Transfer Bolt Request
      POST
    • Transfer Bolt Request Copy
      GET
  • Sites
    • Git
      • Get Git Status
      • Create Git Configuration
      • Update Git Configuration
      • Delete Git Repository
      • Deploy Git Repository
      • Regenerate Git Public Key
      • Retrieve Git Repository Branches
      • Test Git Repository Connection
    • Domains
      • List Domains
      • List Site Domains
      • Get Site Domain
      • Create Domain Validation
      • Create Site Domain
      • Delete Domain
      • Get Domain Certificates
      • Link Certificate to Domain
      • Unlink Certificate from Domain
    • Logs
      • Get Apache Access Logs
      • Get Apache Error Logs
      • Get Cron Errors
    • 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
    • List Locations
    • Check SL8 Availability
    • Available Countries
  • Databases
    • List Databases
    • Get Database
    • Create Database
    • Update Database
    • Delete Database
    • Link Database
    • Unlink Database
    • Get Slow Queries
  • Cronjobs
    • List Cronjobs
    • Create Cronjob
    • Get Cronjob
    • Update Cronjob
    • Delete Cronjob
  • SSH Keys
    • List SSH Keys
      GET
    • Add a new SSH Key
      POST
    • Get SSH Key
      GET
    • Delete SSH Key
      DELETE
  • Certificates
    • List Certificate Orders
    • Get Certificate Order
    • Order new Certificate
    • Store custom certificate
    • Update Auto-Renewal
    • Verify DNS challenge
    • Delete Certificate Order
  • Billing
    • Pricing Calculator
    • Get Billing Customer Info
    • Update Bolt Subscription
    • List Invoices
    • Download Invoice
  • Profile
    • Get User Profile
    • Update User Profile
    • Update Profile Picture
    • Delete Profile Picture
  1. SSH Keys

Get SSH Key

GET
https://api.servebolt.io/v1/ssh-keys/{id}
Get details about a SSH Key

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
Previous
Add a new SSH Key
Next
Delete SSH Key
Built with