By: Arda Akinci user 13 Sep 2022 at 7:02 a.m. CDT

2 Responses
Arda Akinci gravatar
Hello Team, Gluu Server ldap sync consists of 2 different stages. These; 1- Configurations made on the "/Configuration/Cache Refresh" page 2- Configurations made on the "/Configuration/Manage Authentication" page I couldn't find any API for the settings made in the first stage. I tried to use "/identity/restv1/api/v1/configuration/ldap" REST API for second phase. GET, DELETE, PUT requests worked successfully, but when I send POST request I get **NullPointerException** error. I shared the log of the POST Request I sent and the error I received [on this card](https://support.gluu.org/cache-refresh/10747/adding-new-ldap-using-gluu-server-apis). I can successfully make the LDAP connection I want to make via the Gluu Admin Gui. Is it possible to do Gluu Server - LDAP Synchronization with API requests? Regards, Arda

By Mohib Zico staff 12 Oct 2022 at 10:43 a.m. CDT

Mohib Zico gravatar
>> I can successfully make the LDAP connection I want to make via the Gluu Admin Gui. Is it possible to do Gluu Server - LDAP Synchronization with API requests? Sorry, not yet. You can use [SCIM 2.0](https://www.gluu.org/docs/gluu-server/4.4/user-management/scim2/) if you want to take advantage of API in User Management field. Thanks!

By Arda Akinci user 12 Oct 2022 at 11:04 a.m. CDT

Arda Akinci gravatar
Thanks for the reply Mohib. Regars, Arda