Docs
Live demo

List SSH keys

GET/api/v2/ssh-keys
targets:readAPI token

Retrieve a paginated list of SSH keys for the current organization

Parameters

Query2 optional
limitintegerquery

Number of items per page

default 20
cursorstringquery

Pagination cursor

Responses

200

OK

ListSSHKeysResponse · 4 fields
has_morebooleanrequired

True when another page follows. The list ends when it is false.

itemsarray of SSHKeyResponserequired
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.

next_cursorstring

Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.

totalinteger

Full number of items that match the request, present only when the list counts them. It is never the size of the page.

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

↑ ↓ to moveEnter to openEsc to close