Skip to main content
PUT
Change a server's password or 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"

Body

application/json

Send a JSON object containing the fields below. Required fields are marked in the schema.

type
enum<string>
required

The type of operation or resource.

Available options:
ssh_keys,
password
ssh_keys
string | null

The value of ssh_keys.

password
string

The password. Send it only over HTTPS and do not log it.

Required string length: 5 - 191

Response

Request accepted. No response body.