---
title: "Reset a server password"
method: POST
path: "/servers/{serverId}/resetPassword"
---

# Reset a server password

`POST /servers/{serverId}/resetPassword`

## Path parameters

- `serverId` integer, required

## Request body

- object
  - `user` string, required — Either root or Administrator.
  - `sendMail` boolean — Optional (default true) Email the password to the user. (true|false).

## Response `200`

- object

## Other responses

- `401`

---

[API](https://skmtc.dev/virtfusion/apis/virtfusion-global-api.md) · [All operations](https://skmtc.dev/virtfusion/apis/virtfusion-global-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/virtfusion/virtfusion-global-api/revisions/e5fbafe8acde/schema)
