Reinstall the VPS with the given OS image. A new root password is generated and returned. To restore from a backup instead, use PATCH /vps/{id}/backups. The reinstall runs in the background: poll data.task.poll_url (GET /tasks/{task_id}) until its status is done or failed. When the VPS server refuses the reinstall you get 400 with its reason, and when it does not confirm the reinstall 502; in both cases the root password stays as it was.
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.
{"status":200,"status_description":"VPS is being reinstalled.","details":{"root_password":"xxx"},"data":{"task":{"id":"3f9a1c0b7d2e4f6a8b1c2d3e4f5a6b7c","action":"vps_reinstall","status":"queued","progress":null,"resource":{"type":"vps","id":48428},"created_at":"2026-11-18T09:12:00+01:00","started_at":null,"finished_at":null,"result":null,"error":null,"poll_url":"/tasks/3f9a1c0b7d2e4f6a8b1c2d3e4f5a6b7c"}}}
🟠400Wrong request method
🟠400SSL connection is required
🟠400Image errors
🟠400Could not determine VPS server
🟠400No access to this VPS
🟠400No valid VPS ID provided
🟠401No valid API key set
🟠401API key has expired
🟠401Remote IP address is not found in the API key whitelist