---
title: "update"
method: PUT
path: "/api/v1/users/password"
tags: ["API::V1::Password"]
---

# update

`PUT /api/v1/users/password`

## Headers

- `access-token` string, required
- `client` string, required
- `uid` string, required

## Request body

- object
  - `password` string, required
  - `password_confirmation` string, required

## Response `200`

returns a successful response

- object
  - `success` boolean, required
  - `data` object, required
    - `email` string, required
    - `provider` string, required
    - `uid` string, required
    - `id` integer, required
    - `allow_password_change` boolean, required
    - `first_name` string, required
    - `last_name` string, required
    - `username` string, required
    - `created_at` string, required
    - `updated_at` string, required
    - `impersonated_by` unknown, required
  - `message` string, required

## Other responses

- `422` — does not change the password if confirmation does not match

## Changes

- **2024-03-06** `efb566fd664a` — 1 info
  - added the required property `data/impersonated_by` to the response with the `200` status
- **2023-11-27** `bf90c65dbe64` — 2 info
  - api tag `API::V1::Password` added
  - api tag `Api::V1::Password` removed
- **2023-10-24** `238ff9873a31` — 1 breaking, 2 info
  - removed the required property `data/impersonated_by` from the response with the `200` status
  - api tag `Api::V1::Password` added
  - api tag `API::V1::Password` removed

[Change history](https://skmtc.dev/rootstrap/apis/rails-api-base/changes/api/v1/users/password/put.md)

---

[API](https://skmtc.dev/rootstrap/apis/rails-api-base.md) · [All operations](https://skmtc.dev/rootstrap/apis/rails-api-base/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rootstrap/rails-api-base/revisions/5b193a22afbc/schema)
