Skip to main content
POST
/
user
/
ssh-key
/
add
{
  "key_id": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request model for creating an SSH key.

public_key
string
required

SSH public key content in OpenSSH format.

name
string | null

Optional descriptive name to identify the SSH key (e.g., 'work-laptop', 'ci-cd-key'). If not provided, defaults to user's email.

Example:

"my-laptop"

Response

Successful Response

Response model for SSH key create endpoint.

key_id
string
required
message
string
required