---
title: "POST /auth/change_password"
method: POST
path: "/auth/change_password"
tags: ["auth"]
---

# POST /auth/change_password

`POST /auth/change_password`

## Headers

- `authorization` string, required

## Request body

- ChangePasswordDto
  - `oldPassword` string, required
  - `newPassword` string, required

## Response `200`

- CredentialsEntity
  - `roles` Role[], required
  - `language` 'en-us' | 'es-mx'
  - `accessToken` string, required
  - `accessTokenExpiresIn` number, required
  - `refreshToken` string, required
  - `lastTosSigned` boolean, required
  - `tosSignedAt` string, date-time, required
  - `isExemptFromSigningTos` boolean, required
  - `userId` string, required
  - `email` string
  - `payoutEmail` string

---

[API](https://skmtc.net/versusgame/apis/versusgame-api.md) · [All operations](https://skmtc.net/versusgame/apis/versusgame-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/versusgame/versusgame-api/revisions/e86f45ae5f7c/schema)
