# Auto generate password for account created through API?

**URL:** <https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540>\
**Category:** Development\
**Created:** [14.Октябрь.2016 10:07:57 UTC](https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540 "2016-10-14T10:07:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![foloex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/foloex/32/63141_2.png) [@foloex](https://meta.discourse.org/u/foloex)\
**Post date:** [14.Октябрь.2016 10:07:57 UTC](https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540/1 "2016-10-14T10:07:57Z")

</div>

I’m developing a little script that creates user account through discourse API. The create API doesn’t allow user creation without passing a password.

It would be nice if the API creates the user even if no password is specified and when activating the user is asked for his password.

Is it the kind of feature that could be added or is there already a better way to do that ? (or did I missed an option in the admin panel ?)

---

_[View the full topic](https://meta.discourse.org/t/auto-generate-password-for-account-created-through-api/51540)._
