Docs
Live demo

Get SSH key install script

GET/api/v2/ssh-keys/{id}/install.sh
targets:readAPI token

Returns a shell script that adds the SSH public key to ~/.ssh/authorized_keys. The script is idempotent and works with bash and zsh.

Parameters

Path1 required of 1
idstringpathrequired

SSH Key ID (UUID)

Responses

200

Shell script content

text/x-shellscript

Common errors: 400 401 403 404 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close