Add an SSH public key to user's account
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Username of the user
Request Body
Section titled “ Request Body ”CreateKeyOption options when creating a key
object
An armored SSH key to add
Describe if the key has only read access or read/write
Title of the key to add
Example generated
{ "key": "example", "read_only": true, "title": "example"}Responses
Section titled “ Responses ”PublicKey
PublicKey publickey is a user key to push code to repository
object
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
Example
{ "user": { "login_name": "empty" }}APIForbiddenError is a forbidden error response
object
Example generated
{ "message": "example", "url": "example"}APIValidationError is error format response related to input validation
object
Example generated
{ "message": "example", "url": "example"}