Docs
Live demo

Get SSH key by ID

GET/api/v2/ssh-keys/{id}
targets:readAPI token

Retrieve an SSH key by its unique identifier. Note: Private key is not returned.

Parameters

Path1 required of 1
idstringpathrequired

SSH Key ID (UUID)

Responses

200

OK

SSHKeyResponse · 7 fields
algorithmstring
created_atstring
fingerprintstring
idstring
namestring
public_keystring
tunnel_countinteger

Number of SSH tunnels that sign in with the key. A key in use can't be deleted.

Common errors: 400 401 403 404 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close