# How to remove ldap

**URL:** <https://discuss.elastic.co/t/how-to-remove-ldap/361590>\
**Category:** Elasticsearch\
**Created:** [June 17, 2024, 4:35pm UTC](https://discuss.elastic.co/t/how-to-remove-ldap/361590 "2024-06-17T16:35:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Himsharma](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Himsharma](https://discuss.elastic.co/u/Himsharma)\
**Post date:** [June 17, 2024, 4:35pm UTC](https://discuss.elastic.co/t/how-to-remove-ldap/361590/1 "2024-06-17T16:35:20Z")

</div>

Hi Team,  
I am using the elasticsearch version 7.17.9 with three nodes there I have configured the ldap but I am facing issue with ldap password so I want to remove it as I am not able to authenticate any user.

Can you please share the steps to remove the ldap from elasticsearch?

NOTE: I have 3 node cluster.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [June 17, 2024, 6:55pm UTC](https://discuss.elastic.co/t/how-to-remove-ldap/361590/2 "2024-06-17T18:55:49Z")

</div>

Hi @Himsharma,

Would something like [this endpoint](https://www.elastic.co/guide/en/cloud-enterprise/current/delete-ldap-configuration.html) work for you?

---

<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:** [June 18, 2024, 1:15am UTC](https://discuss.elastic.co/t/how-to-remove-ldap/361590/3 "2024-06-18T01:15:42Z")

</div>

LDAP is configured in your `elasticsearch.yml` file.

If you want to remove it, then you will need to remove the `ldap` realm from there, and possibly add in a replacement.

Or perhaps we can help you get LDAP working instead?
