# 通过 RESTFUL Users API 创建用户 - Users.json 被清空

**URL:** <https://meta.discourse.org/t/creating-users-through-restful-users-api-users-json-got-wiped/110362>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2019 年2 月 28 日 16:15 UTC](https://meta.discourse.org/t/creating-users-through-restful-users-api-users-json-got-wiped/110362 "2019-02-28T16:15:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
发布日期： [2019 年2 月 28 日 16:24 UTC](https://meta.discourse.org/t/creating-users-through-restful-users-api-users-json-got-wiped/110362/2 "2019-02-28T16:24:50Z")

</div>

I don’t think `<discourse-url>/users.json` has ever worked. Are you thinking of `<discourse-url>/admin/users.json`?

If `<discourse-url>/admin/users.json` is returning a “not found” error, it probably means that your API key is incorrect.

---

_[View the full topic](https://meta.discourse.org/t/creating-users-through-restful-users-api-users-json-got-wiped/110362)._
