# POST /api/v2/users: Connection is disabled

**URL:** <https://community.auth0.com/t/post-api-v2-users-connection-is-disabled/53641>\
**Category:** Get Help\
**Created:** [November 21, 2020, 12:45pm UTC](https://community.auth0.com/t/post-api-v2-users-connection-is-disabled/53641 "2020-11-21T12:45:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JanC](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/janc/32/24618_2.png) [@JanC](https://community.auth0.com/u/JanC)\
**Post date:** [November 21, 2020, 12:45pm UTC](https://community.auth0.com/t/post-api-v2-users-connection-is-disabled/53641/1 "2020-11-21T12:45:41Z")

</div>

Hi,  
I’m writing a python script to facilitate the management of my users but when I `POST /api/v2/users`, I get the error

```auto
{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "connection is disabled (client_id: xxxxxx - connection: email)",
  "errorCode": "auth0_idp_error"
}

```

According to [a similar issue](https://community.auth0.com/t/connection-is-disabled-why-is-auth0-not-trying-the-enabled-connection/21372), I wanted to enable the connection in my app setting but I do not have that tab:

 ![Screenshot_2020-11-21_at_13_41_31](https://global.discourse-cdn.com/auth0/original/3X/d/6/d6b0fcda2b51e392e5ff54b53c338ebaa0381aec.png)

This application is a type “machine to machine” an its purpose is for management and I believe I did grant it the required permissions.

On the other hand, my user facing `Native` application does have that `Connection` tab.

 ![Screenshot_2020-11-21_at_13_43_50](https://global.discourse-cdn.com/auth0/original/3X/b/a/bae892af46a0bb0f8edc80d333f5fd2c50be707d.png)

Where can I allow my management CLI app to access my `email` connection?

cheers  
Jan

---

<div class="post-metadata">

**Author:** ![JanC](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/janc/32/24618_2.png) [@JanC](https://community.auth0.com/u/JanC)\
**Post date:** [November 21, 2020, 12:49pm UTC](https://community.auth0.com/t/post-api-v2-users-connection-is-disabled/53641/2 "2020-11-21T12:49:29Z")

</div>

Found it. the Application has to be enabled in the Connection settings

 ![Screenshot_2020-11-21_at_13_48_11](https://global.discourse-cdn.com/auth0/original/3X/5/2/527635ee2d56a1eaf8a1b4d3dcdc370a505d6771.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 6, 2020, 12:49pm UTC](https://community.auth0.com/t/post-api-v2-users-connection-is-disabled/53641/3 "2020-12-06T12:49:29Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
