Returns
#dataobjectAlways present
Your registered SSH keys.
Show 1 attributeHide attributes
keysobject[] | nullAlways present
Each key's identity and any Computer or tag restriction.
Show 1 attributeHide attributes
itemsobject
A registered SSH public key and its access restrictions.
Show 8 attributesHide attributes
computerobject
Single Computer this key can reach, when it is limited to one. May be omitted.
Show 2 attributesHide attributes
idstringAlways present
Selected Computer's ID.
namestringAlways present
Current name; empty during deletion or after you lose access.
created_atstring (date-time)
Time the key was added. May be omitted.
fingerprintstringAlways present
Public key fingerprint.
idstringAlways present
Registered key's ID.
labelstringAlways present
User-assigned label.
last_used_atstring (date-time) | nullAlways present
Last recorded SSH sign-in; null if none is recorded. Updates can take five minutes.
public_keystringAlways present
SSH public key.
tagstring
Tag limiting the key to matching Computers, when set. May be omitted.
Errors
#| Code | Status | What happened |
|---|---|---|
| invalid | 400 | An input is missing or invalid. |
| unauthenticated | 401 | The credential is missing, invalid, expired or revoked. |
| denied | 403 | The caller lacks permission for this action. |
| not_found | 404 | The resource is absent or inaccessible to this caller. |
| conflict | 409 | The request conflicts with the current resource state or an earlier request. |
| over_capacity | 409 | The request exceeds a resource or credential allowance. |
| access_list_full | 409 | The change would exceed the access-list allowance. |
| rate_limited | 429 | The caller's request rate exceeds its limit. |
| busy | 429 | Too much work is in progress to accept this request. |
| unknown | 503 | The outcome is unconfirmed; a change may have happened. |
| unavailable | 503 | The service or requested feature is unavailable. |
Notes
#- API key permission:
ssh-key view.