Does changing Password via Management API validate password complexity?

If i want to change passwords via 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?