v1
latestOpenAPI 3.0.02026-07-14198572488.4 KBSSH Keys
Import an ssh key for a site
Import an ssh key for a site
post/v1/sites/{id}/ssh/keys
Path parameters
idinteger required
ID of the Site you are interacting with
Example:8880000888
Request body
Example request
{
"name": "id_rsa.pub",
"key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGx6kfg1/JTqGu4AeALa7xV/Vw22KF82zKubXubwmuCU",
"passphrase": "abracadabra"
}Response
OK
Example response
{
"success": true,
"errors": [],
"messages": []
}