v1

latestOpenAPI 3.1.02026-07-241220143.1 KB

POST /users/{username}/sshkeys/

Add a new SSH key

post/v1/users/{username}/sshkeys/

Path parameters

usernamestring required

username

Request body

namestring required

Name for the key

keystring required

SSH public key, like "ssh-rsa AAAAAA....."

key_typestring

The SSH key type for Foxpass

Response

200

statusstring

Example response

{
  "status": "ok"
}