users
Get a public SSH key for the authenticated user
View extended details for a single public SSH key.
OAuth app tokens and personal access tokens (classic) need the read:public_key scope to use this endpoint.
get/user/keys/{key_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/user/keys/{key_id}
- Auth: none declared
Path parameters
key_idinteger required
The unique identifier of the key.
Response
Response
Changes
No recorded changes to this operation across all 23 revisions of this API.