---
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

---

[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)
