Enable or disable rescue mode
Enable or disable rescue mode. When enabling, the VPS is restarted in rescue mode and a temporary admin password is returned.
Request
Add parameter in header API-key
Example:API-key: ********************
or
Body Params application/jsonRequired
Request Code Samples
curl --location --request PUT 'https://mijn.host/api/v2/vps/12345/rescue' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"enable": true
}'
Responses
application/json {
"status": 200,
"status_description": "VPS is restarting in rescue mode."
}
Modified at 2026-04-09 10:11:26