---
title: "Password Change"
method: PUT
path: "/iam/users/{userId}/password"
tags: ["Account"]
---

# Password Change

`PUT /iam/users/{userId}/password`

Reset your password.

## Path parameters

- `userId` integer, required

## Request body

- ChangePasswordRequest
  - `old` string, required — Your old password.
  - `new` string, required — Your new password.
  - `double` string, required — Confirm your new password.

## Response `200`

Password was successfully changed.

- Token
  - `refresh` string, required — Use this token to refresh the access token via [`/auth/jwt/refresh`](POST /auth/jwt/refresh) method.
  - `access` string, required — Use this token to access API.

## Other responses

- `400` — Password change failed.
- `401` — Authentication credentials were not provided or given token not valid for any token type.
- `403` — You do not have permission to perform this action.

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
