# Creating users without passwords via API

**URL:** <https://meta.discourse.org/t/creating-users-without-passwords-via-api/139718>\
**Category:** Product Support\
**Created:** [25 בינואר,‏ 2020,‏ 4:14pm UTC](https://meta.discourse.org/t/creating-users-without-passwords-via-api/139718 "2020-01-25T16:14:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![dm.linov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dm.linov/32/167719_2.png) [@dm.linov](https://meta.discourse.org/u/dm.linov)\
**Post date:** [27 בינואר,‏ 2020,‏ 4:39pm UTC](https://meta.discourse.org/t/creating-users-without-passwords-via-api/139718/5 "2020-01-27T16:39:20Z")

</div>

I tried to use [this script of yours](https://github.com/pfaffman/discourse-user-creator), that seems to be doing the trick, but keep getting an error message:

```
 ./create-user 'Test User Four' me@[domain] test4 41 default
Creating user: test4 user test4 created. . . Adding to group 41. . . {"errors":["You supplied invalid parameters to the request: usernames"],"error_type":"invalid_parameters"}

```

Can’t figure out, what have I done wrong. Also, is it possible not to set group and password here?

---

_[View the full topic](https://meta.discourse.org/t/creating-users-without-passwords-via-api/139718)._
