user
SSH Keys

Import keys from GitHub profile

Changed on

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

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

Changes

    • info

      the endpoint scheme security OAuth2AuthorizationCodeBearer was added to the API

    • info

      api tag user added