---
title: "Update the security credentials of a user account"
method: POST
path: "/useraccounts/{useraccountid}/credentials"
tags: ["users"]
---

# Update the security credentials of a user account

`POST /useraccounts/{useraccountid}/credentials`

Update the security credentials of a user account

## Request body

- ChangePasswordRequestType — User login credentials
  - `oldPassword` string, required — The current (old) password of the user
  - `newPassword` string, required — The new password of the user. It must be longer than 8 characters.

## Response `200`

The user account

## Other responses

- `400` — Malformed request
- `403` — User does not have permission to update the target user account credentials, or the old password is wrong.
- `404` — The user account with the specified identifier does not exist.
- `500` — The update failed due to internal server error
- `default` — Unexpected error

---

[API](https://skmtc.net/gameanalytics/apis/datatiger-management-api.md) · [All operations](https://skmtc.net/gameanalytics/apis/datatiger-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gameanalytics/datatiger-management-api/versions/20a4f732a0b7/schema)
