List SSH keys
/ssh-keysUse this to find key ids for createOrder and reinstallService. Owner tokens only.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
ssh_keys:read- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
limitintegerOptionalHow many objects to return, 1 to 100. Default 20.
Default20min 1, max 100cursorstringOptionalThe nextCursor of the previous page. Valid for 24 hours, with the same filters.
max length 512referencestringOptionalOnly objects with exactly this reference.
max length 100
Clouduxe-VersionstringOptionalThe API version to use, such as 2026-12-01. Omit it to use your token's version.
pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
200OK A page of keys.
objectstringRequiredAlways "list".
dataarray of SshKeyRequiredThe objects on this page.
Show 9 child attributesHide 9 child attributes
objectstringRequiredThe object's type. Always "ssh_key".
idstring (uuid)RequiredThe key's id.
namestringRequiredThe key's name.
typestringRequiredThe key type.
One ofssh-ed25519ssh-rsaecdsa-sha2-nistp256ecdsa-sha2-nistp384ecdsa-sha2-nistp521fingerprintstringRequiredThe key's SHA256 fingerprint, as ssh-keygen -l prints it.
referencestring or nullRequiredYour own identifier for this object, such as your client's id in your billing system. 1 to 100 printable characters, or null. Not unique: several objects may share one. Filter lists by it with the reference query parameter.
min length 1, max length 100metadataobjectRequiredYour own key-value data on this object.
max 20 keyscreatedAtstring (date-time)RequiredWhen the key was added.
livemodebooleanRequiredTrue for objects of your live account.
hasMorebooleanRequiredTrue when there are more objects after this page. A page can hold fewer than limit objects while hasMore is true: keep following nextCursor.
nextCursorstring or nullRequiredPass this as cursor to get the next page. Null when hasMore is false.
Every response
- 200OKA page of keys.
- 400Bad requestThe request is not valid. Codes: cursor_invalid, version_invalid, parameter_invalid.
- 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
- 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.