---
title: "Reset VPS root password, requires vps to be powered off"
method: PUT
path: "/vps/{deviceId}/reset-password"
tags: ["VPS"]
---

# Reset VPS root password, requires vps to be powered off

`PUT /vps/{deviceId}/reset-password`

## Headers

- `X-Fields` string, mask

## Request body

- VPSResetRootPassword
  - `token` string, required — The token used to reset the root password for the VPS instance.

## Response `200`

Root password reset successfully

## Other responses

- `201` — Success
- `400` — Device is not in a state to reset root password.
- `403` — You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission.
- `404` — Device not found.

---

[API](https://skmtc.net/hivelocity/apis/hivelocity-api.md) · [All operations](https://skmtc.net/hivelocity/apis/hivelocity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hivelocity/hivelocity-api/versions/ee6b717b5015/schema)
