# ApI to update LDAP Bindpassword

**URL:** <https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812>\
**Category:** AWX Project\
**Created:** [October 1, 2021, 3:57pm UTC](https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812 "2021-10-01T15:57:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pabbisetty.hm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Post date:** [October 1, 2021, 3:57pm UTC](https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812/1 "2021-10-01T15:57:27Z")

</div>

Hello Team,

I am looking for suggestions on automating password in LDAP bind password parameter.  
Is there any api or any script that can be invoked from jenkins to perform this?

 ![pwd.jpg](https://us1.discourse-cdn.com/ansible/original/2X/e/e09218a62d3c24ed16bfcae2640e96daa42201b2.jpeg)

Happy to answer additional questions. Thank you in advance.

//Venkata

---

<div class="post-metadata">

**Author:** ![Cnu\_k](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Post date:** [October 1, 2021, 5:36pm UTC](https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812/2 "2021-10-01T17:36:53Z")

</div>

The LDAP and other APIs are available under settings. You may want to check this.

LDAP API URI: \<AWX\_URL\>/api/v2/settings/ldap/

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [October 1, 2021, 5:39pm UTC](https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812/3 "2021-10-01T17:39:24Z")

</div>

There is a collection called tower-configuration that can automate the entire stack

[https://github.com/redhat-cop/tower\_configuration](https://github.com/redhat-cop/tower_configuration)

Ldap included

---

<div class="post-metadata">

**Author:** ![pabbisetty.hm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Post date:** [October 1, 2021, 5:59pm UTC](https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812/4 "2021-10-01T17:59:53Z")

</div>

Hi Cnu k,

Thank you, I am able to use the api link to see the details. Can you help if there a document on which request body to be used?

---

<div class="post-metadata">

**Author:** ![pabbisetty.hm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Post date:** [October 1, 2021, 6:10pm UTC](https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812/5 "2021-10-01T18:10:21Z")

</div>

Hi Weiye, I am new to Awx, can you help me with more instruction to find the collections for LDAP

---

<div class="post-metadata">

**Author:** ![pabbisetty.hm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Post date:** [October 26, 2021, 8:44pm UTC](https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812/6 "2021-10-26T20:44:29Z")

</div>

Any suggestions? I tried both options but no luck ☹

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [October 27, 2021, 7:12am UTC](https://forum.ansible.com/t/api-to-update-ldap-bindpassword/35812/7 "2021-10-27T07:12:06Z")

</div>

Sorry for replying so late. Please review

[https://github.com/redhat-cop/tower\_configuration/tree/devel/roles/settings](https://github.com/redhat-cop/tower_configuration/tree/devel/roles/settings)
