Skip to main content
POST
Start rescue mode

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 | null
required

The server uuid short

Example:

"ecc6f4f1"

Body

application/json

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

password
string | null

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

Maximum string length: 191
ssh_keys
string[]

The value of ssh_keys.

Maximum array length: 25
Required string length: 36
ssh_key
string | null

The value of ssh_key.

Required string length: 36
notify_customer
boolean

The value of notify_customer.

Response

The request was accepted and is being carried out in the background.

Whether a server is in rescue mode, and if it is not, whether it can go into it.

rescue
ServerRescueData · object | null
required

Null when the server is not in rescue mode.

Example:
unavailable_reason
string | null
required

Why rescue mode cannot be turned on right now, or null when it can.

Example:

null