v1

latestOpenAPI 3.1.02026-07-26102158206.8 KB
SSH Keys

Import keys from GitHub profile

Fetches public SSH keys from any GitHub user's profile via the unauthenticated GitHub API. Deduplicates against the user's existing keys by fingerprint.

post/api/v1/user/ssh-keys/github-profile

Request body

github_usernamestring required

GitHub username to import SSH keys from

Response

Import completed; check keys_added and errors for per-key results

github_usernamestring required

GitHub username that was imported

keys_addedinteger required

New keys added

keys_skippedinteger required

Keys skipped (already exist by fingerprint)

errorsstring[]

Per-key errors encountered