Authorize a public key to log in to the package over SSH and SFTP, without a password. Send the public key only (the line from the .pub file); a private key is refused.Accepted types: ssh-ed25519, ssh-rsa, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, sk-ssh-ed25519@openssh.com and sk-ecdsa-sha2-nistp256@openssh.com. Options in front of the key (command=, from=) are not accepted.A key only works while SSH access is on (PUT /hosting/{id}/ssh).Scope: hosting:write.
Request
Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.