# Need to create users in 'Username-Password-Authentication' through mgmt API without supplying password

**URL:** <https://community.auth0.com/t/need-to-create-users-in-username-password-authentication-through-mgmt-api-without-supplying-password/69735>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [September 15, 2021, 4:43pm UTC](https://community.auth0.com/t/need-to-create-users-in-username-password-authentication-through-mgmt-api-without-supplying-password/69735 "2021-09-15T16:43:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rickh/32/13599_2.png) [@rickh](https://community.auth0.com/u/rickh)\
**Post date:** [September 15, 2021, 4:43pm UTC](https://community.auth0.com/t/need-to-create-users-in-username-password-authentication-through-mgmt-api-without-supplying-password/69735/1 "2021-09-15T16:43:26Z")

</div>

When I attempt to create users through the management API without supplying a password I get status 400 with error message “password is required”.

The users created in this way are not necessarily known to the admin who is entering the details. I want the new user to receive a ‘Set up your account’ email from Auth0 which includes them choosing their password the first time they log in. How do I do this?

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [September 16, 2021, 1:29pm UTC](https://community.auth0.com/t/need-to-create-users-in-username-password-authentication-through-mgmt-api-without-supplying-password/69735/2 "2021-09-16T13:29:17Z")

</div>

Hi @rickh

Create the user with a random string for a password (and do not store the password anywhere).  
Then send them a welcome email with a password reset link.

John

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 30, 2021, 9:45am UTC](https://community.auth0.com/t/need-to-create-users-in-username-password-authentication-through-mgmt-api-without-supplying-password/69735/3 "2021-09-30T09:45:15Z")

</div>

Thanks for helping on this one John!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 30, 2021, 9:45am UTC](https://community.auth0.com/t/need-to-create-users-in-username-password-authentication-through-mgmt-api-without-supplying-password/69735/4 "2021-09-30T09:45:18Z")

</div>


