API Reference
S S H Keys
List SSH keys
Returns all SSH public keys for the authenticated user.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Add SSH key
Adds a new SSH public key to the user account.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredSSH key request
labelstringpublicKeystringCreated
Import GitHub SSH keys
Imports SSH public keys from a GitHub user account.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredGitHub import request
githubUsernamestringOK
Update SSH key label
Renames an SSH key.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredLabel update
labelstringPath Parameters
keyIdRequiredstringSSH key ID
OK
Delete SSH key
Deletes an SSH key from the user account.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
keyIdRequiredstringSSH key ID
No Content
Was this page helpful?