# Disable account confirm emails when creating users via API

**URL:** <https://meta.discourse.org/t/disable-account-confirm-emails-when-creating-users-via-api/68663>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [23 أغسطس 2017، 11:18م UTC](https://meta.discourse.org/t/disable-account-confirm-emails-when-creating-users-via-api/68663 "2017-08-23T23:18:20Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [28 أغسطس 2017، 7:39م UTC](https://meta.discourse.org/t/disable-account-confirm-emails-when-creating-users-via-api/68663/17 "2017-08-28T19:39:35Z")

</div>

Per:

[https://github.com/discourse/discourse/commit/9f0f086b3e117a799ba3277dcbdda8781c55842e](https://github.com/discourse/discourse/commit/9f0f086b3e117a799ba3277dcbdda8781c55842e)

You can now specify that an account is also approved on creation, previously it was beyond cumbersome.

> [@jeffbrowning](#):
>
> ‘active’: True,

You should use `active: 'true'` , upper case true will not work.

As long as the API key is associated with an admin you can now create approved, active accounts via the API with no emails.

We will deploy this to our standard tier later this week.

---

_[View the full topic](https://meta.discourse.org/t/disable-account-confirm-emails-when-creating-users-via-api/68663)._
