---
title: "​/api​/users​/change-password"
method: POST
path: "/​api​/users​/change-password"
---

# ​/api​/users​/change-password

`POST /​api​/users​/change-password`

## Request

- Base URL: `https://totvssign.staging.totvs.app/identityintegration`
- URL: `https://totvssign.staging.totvs.app/identityintegration/​api​/users​/change-password`
- Auth: API key in header `Authorization`

endpoint para alterar a senha do usuário logado.

## Request body

- object
  - `currentPassword` string, required: Senha atual
  - `newPassword` string, required: Nova senha

## Response `200`

200

- object
  - `succeeded` boolean
  - `data` unknown
  - `messages` object[]
    - `code` string
    - `description` string
  - `description` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o.md) - [All operations](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/llms.txt) - [OpenAPI document](https://skmtc.dev/totvs/apis/api-identityintegration-autentica-o/revisions/0f43855140b5?raw)
