latestSwagger 2.02026-08-1095121164.0 KB
94758829689e
users
List SSH Public Keys
Lists all SSH public keys associated with the authenticated user's account. These keys can be used for Git operations and SFTP access.
Returns a map where keys are SSH key UUIDs (fingerprints without colons) and values are the full SSH public key strings in standard format: "ssh-rsa AAAAB3... comment" or "ssh-ed25519 AAAAC3... comment"
get/v0/users/{user_id}/keys
Path parameters
user_idstring required
User ID
Response
ListSSHKeysResponse required
Example response:
{ "28107bd5a8612555538bfa962bc64e20": "ssh-rsa AAAAB3... user@example.com", "a3c4f8b9d2e1a5c6b7d8e9f0a1b2c3d4": "ssh-ed25519 AAAAC3... admin@host.com" }