---
title: "Change the password of the current user that you are logged in as"
method: PUT
path: "/v1/resourceowner/user/changepassword"
tags: ["ResourceOwnerUser"]
---

# Change the password of the current user that you are logged in as

`PUT /v1/resourceowner/user/changepassword`

This will change the password.

## Request body

- ChangePasswordModel
  - `CurrentPassword` string
  - `NewPassword` string

## Response `200`

The password was saved

## Other responses

- `400` — Request is bad, the password is too short or doesn't contains at least one uppercase character, one lowercase character, one number and one complex characte that you tried to update doesn't exist
- `403` — Request is forbidden, meaning that the password entered is invalid
- `500` — Internal server error

---

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