Skip to main content

keys

Overview

Namekeys
TypeResource
Idgithub.users.keys

Fields

NameDatatype
idinteger
created_atstring
keystring
read_onlyboolean
titlestring
urlstring
verifiedboolean

Methods

NameAccessible byRequired ParamsDescription
get_public_ssh_key_for_authenticated_userSELECTkey_idView 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.
list_public_ssh_keys_for_authenticated_userSELECTLists 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.
create_public_ssh_key_for_authenticated_userINSERTdata__keyAdds 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.
delete_public_ssh_key_for_authenticated_userDELETEkey_idRemoves 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.