Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Lists the public SSH keys for the authenticated user’s GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least read:public_key
scope.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Key
Adds a public SSH key to the authenticated user’s GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least write:public_key
scope.
A descriptive name for the new key.
Example:Personal MacBook Air
The public SSH key to add to your GitHub account.
Match pattern:^ssh-(rsa|dss|ed25519) |^ecdsa-sha2-nistp(256|384|521)
Response
Key
View extended details for a single public SSH key. Requires that you are authenticated via Basic Auth or via OAuth with at least read:public_key
scope.
key_id parameter
Response
Key
Removes a public SSH key from the authenticated user’s GitHub account. Requires that you are authenticated via Basic Auth or via OAuth with at least admin:public_key
scope.
key_id parameter
Response
Lists your publicly visible email address, which you can set with the Set primary email visibility for the authenticated user endpoint. This endpoint is accessible with the user:email
scope.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Example:octocat@github.com
Example:true
Example:true
Example:public