# Approving an already-existing user through API?

**URL:** <https://meta.discourse.org/t/approving-an-already-existing-user-through-api/71998>\
**Category:** Development\
**Created:** [13. Oktober 2017 um 09:18 UTC](https://meta.discourse.org/t/approving-an-already-existing-user-through-api/71998 "2017-10-13T09:18:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Frank\_Bailey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frank_bailey/32/83927_2.png) [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)\
**Post date:** [13. Oktober 2017 um 09:18 UTC](https://meta.discourse.org/t/approving-an-already-existing-user-through-api/71998/1 "2017-10-13T09:18:40Z")

</div>

I have created 17500 users via the Discourse API and uploaded all user avatars with the help of some very nice people here on Meta Discourse. All these users are in a “pending” state, and I would like to approve these users in bulk via the API. However, I only see an API endpoint to “activate” a user. As all my users are already active (but not approved) my question is, can I approve the users via the API, or must approval be done manually by the screenfull in the admin backend of Discourse? 17500 users will be a lot to have to approve manually.

Thanks in advance!

---

_[View the full topic](https://meta.discourse.org/t/approving-an-already-existing-user-through-api/71998)._
