# Reset Elasticsearch Deployment Passsword using API

**URL:** <https://discuss.elastic.co/t/reset-elasticsearch-deployment-passsword-using-api/185691>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [June 13, 2019, 3:34pm UTC](https://discuss.elastic.co/t/reset-elasticsearch-deployment-passsword-using-api/185691 "2019-06-13T15:34:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seizste](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@seizste](https://discuss.elastic.co/u/seizste)\
**Post date:** [June 13, 2019, 3:34pm UTC](https://discuss.elastic.co/t/reset-elasticsearch-deployment-passsword-using-api/185691/1 "2019-06-13T15:34:45Z")

</div>

Hello everyone,

could not find it in the ece api reference, but is there a way to reset the elastic users password using the api ?  
Functionality should be the same as following instructions described here - [https://www.elastic.co/guide/en/cloud-enterprise/current/ece-password-reset-elastic.html](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-password-reset-elastic.html) \> Reset the password for the elastic user.

Looking Forward,  
Stefan

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [June 13, 2019, 4:42pm UTC](https://discuss.elastic.co/t/reset-elasticsearch-deployment-passsword-using-api/185691/2 "2019-06-13T16:42:55Z")

</div>

It looks like it hasn't been ported across to v1 yet - there's still a few stragglers using the undocumented v0.1 endpoint. It should appear in v1 soon.

In the meantime you can hit (`POST`) to `/api/v0.1/regions/ece-region/clusters/:cluster_id/_reset_password` with no body and get in return (`200`)

```auto
{"ok":true,"elastic_username":"elastic","elastic_password":":PASSWORD"}

```

Alex

---

<div class="post-metadata">

**Author:** ![seizste](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@seizste](https://discuss.elastic.co/u/seizste)\
**Post date:** [June 14, 2019, 7:47am UTC](https://discuss.elastic.co/t/reset-elasticsearch-deployment-passsword-using-api/185691/3 "2019-06-14T07:47:17Z")

</div>

thx for the help and fast reply !

---

<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:** [June 28, 2019, 7:47am UTC](https://discuss.elastic.co/t/reset-elasticsearch-deployment-passsword-using-api/185691/4 "2019-06-28T07:47:18Z")

</div>

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