# Does changing Password via Management API validate password complexity?

**URL:** <https://community.auth0.com/t/does-changing-password-via-management-api-validate-password-complexity/189142>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [July 14, 2025, 8:02am UTC](https://community.auth0.com/t/does-changing-password-via-management-api-validate-password-complexity/189142 "2025-07-14T08:02:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nics0](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nics0/32/71410_2.png) [@nics0](https://community.auth0.com/u/nics0)\
**Post date:** [July 14, 2025, 8:02am UTC](https://community.auth0.com/t/does-changing-password-via-management-api-validate-password-complexity/189142/1 "2025-07-14T08:02:55Z")

</div>

If i want to change passwords via the management api ([https://auth0.com/docs/authenticate/database-connections/password-change#use-the-management-api](https://auth0.com/docs/authenticate/database-connections/password-change#use-the-management-api)), can i rely on it to also validate the password complexity rules set on the database connection?

---

<div class="post-metadata">

**Author:** ![teodor.andrei](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/teodor.andrei/32/75320_2.png) [@teodor.andrei](https://community.auth0.com/u/teodor.andrei)\
**Post date:** [July 15, 2025, 12:12pm UTC](https://community.auth0.com/t/does-changing-password-via-management-api-validate-password-complexity/189142/3 "2025-07-15T12:12:08Z")

</div>

Hi @nics0, and thank you for your question!

Yes, absolutely! I can see this is something that is missing from our documentation, and I will let the team know.

When you try to change a user’s password to something that doesn’t follow the complexity you have configured in the dashboard, you will get a 400 error with an appropriate message:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/3/f/3f086e1293c66f58c7e123742b06fba529769e51.png)

I encourage you to test it as well, so you can rest assured!

Sincerely,  
Teodor.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 29, 2025, 12:12pm UTC](https://community.auth0.com/t/does-changing-password-via-management-api-validate-password-complexity/189142/4 "2025-07-29T12:12:14Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
