---
title: "Reset management user password"
method: PUT
path: "/v2/partition/{partitionId}/managementuser/{id}/resetpassword"
tags: ["Management User"]
---

# Reset management user password

`PUT /v2/partition/{partitionId}/managementuser/{id}/resetpassword`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/managementuser/{id}/resetpassword`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/managementuser/:id/resetpassword/put.ts> (a function with typed inputs; its response is checked against the schema)

Use to reset the password of a management user.  <span hidden>For more information, see <a href="managementUser.html#resetManagementUserPassword">here</a>.</span>

## Path parameters

- `id` string, required
- `partitionId` string, required

## Response `200`

Successful operation

- ManagementUserX
  - `id` string
  - `username` string: users email address
  - `firstName` string
  - `lastName` string
  - `emailAddress` string: just a readonly repetition of the username
  - `mustChangePassword` boolean
  - `languageTag` 'en-US' | 'fr-CA'
  - `partitionId` string: Reference to <a href="#/~schema/PartitionX">PartitionX.id</a>
  - `roles` string[]: A list of roles that the contain the permissions of this managementUser.
  - `groupIds` string[]: Readonly and internal only, the same information is contained in the roles array in a different format

## Other responses

- `400`: Invalid management user ID
- `401`: Unauthorized
- `404`: Path Error, probably a bad partition ID or management user ID

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
