> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update user password

> To change a user password, send a POST request to the /users/auth/changepassword endpoint and include the currentpassword and newpassword in JSON format in the body of the request.

POST/users/auth/changepassword

To change a user password, send a `POST` request to the `/users/auth/changepassword` endpoint and include the `current_password` and `new_password` in [JSON](http://www.json.org/) format in the body of the request. This endpoint operates in the context of a currently logged-in user.

A successful password change returns an empty response body with a response code of `204 No Content`.

## Request body

| Fields | Description |
| - | - |
| current\_password string  Required | Current password to the cardholder's user account on the Marqeta platform. **Allowable Values:**  1–255 chars |
| new\_password string  Required | New password to the cardholder's user account on the Marqeta platform. - Must contain at least one numeral - Must contain at least one lowercase letter - Must contain at least one uppercase letter - Must contain at least one of these symbols: `@``#``$``%``!``^``&``*``(``)` `\\``_``+``~``-``=``[``]``\{``}` `,``;``:``'``"``.``/``<``>``?``` ` `` **Allowable Values:**  1–255 chars |

## Sample request body

```json JSON lines wrap theme={null}
{
  "new_password": "my_new_password",
  "current_password": "my_old_password"
}
```


## Related topics

- [Users Overview](https://www.marqeta.com/docs/core-api/users.md)
- [User Authentication Overview](https://www.marqeta.com/docs/core-api/users/user-authentication.md)
- [Request user password reset token](https://www.marqeta.com/docs/core-api/users/user-authentication/request-password-reset.md)
- [Reset user password](https://www.marqeta.com/docs/core-api/users/user-authentication/reset-password.md)
- [Update user](https://www.marqeta.com/docs/core-api/users/update-user.md)
