Skip to main content
GET
Get a server's SSH keys

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Path Parameters

server
string
required

The server UUID

Example:

"ecc6f4f1"

Response

The record, as a JSON object. There is no envelope.

The keys a server's guest currently accepts.

ssh_keys
string
required

The value of ssh_keys.

Example:

"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNr9XsCkWrb0LklstkNHufnF8gAVKsPIFsZeFdoZEO gordon@bmrf-workstation\nssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDRIUDS8hbc8Q60bJVcyNORoaC7cKZgQpwaXkS8Tgwy8 deploy@ci.blackmesa"