# Unable to edit native users using the reset password API

**URL:** <https://discuss.elastic.co/t/unable-to-edit-native-users-using-the-reset-password-api/91265>\
**Category:** Elasticsearch\
**Created:** [June 29, 2017, 10:29am UTC](https://discuss.elastic.co/t/unable-to-edit-native-users-using-the-reset-password-api/91265 "2017-06-29T10:29:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hreidar\_Joelsson](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@Hreidar\_Joelsson](https://discuss.elastic.co/u/Hreidar_Joelsson)\
**Post date:** [June 29, 2017, 10:29am UTC](https://discuss.elastic.co/t/unable-to-edit-native-users-using-the-reset-password-api/91265/1 "2017-06-29T10:29:04Z")

</div>

Hi, I'm unable to edit native users. The calls I make to the API seems to be hanging forever.  
  
This user is available as I can receive it by this call:

```auto
curl -k -u elastic:changeme -XGET 'localhost:9200/_xpack/security/user/kibana4_server?pretty'
{
  "kibana4_server" : {
    "username" : "kibana4_server",
    "roles" : [
      "kibana4_server"
    ],
    "full_name" : null,
    "email" : null,
    "metadata" : { },
    "enabled" : true
  }
}

```

But if I try to edit it just hangs: ``` curl -k -u elastic:changeme -XPOST 'localhost:9200/_xpack/security/user/kibana4_server?pretty' -H 'Content-Type: application/json' -d' { "password" : "changeme", "roles" : ["kibana4_server"], "enabled": true } ' ``` Any idea what could be wrong? Note I'm using ansible-elasticsearch to provision my cluster and it has been working flawlessly until I try to enable x-pack. Then it fails on the task: "Update Native Users", where the script tries to edit users via this native api. Best regards, Hreidar.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [July 3, 2017, 2:17am UTC](https://discuss.elastic.co/t/unable-to-edit-native-users-using-the-reset-password-api/91265/2 "2017-07-03T02:17:09Z")

</div>

Can you check the log for your elasticsearch nodes?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 31, 2017, 2:17am UTC](https://discuss.elastic.co/t/unable-to-edit-native-users-using-the-reset-password-api/91265/3 "2017-07-31T02:17:43Z")

</div>

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