# Replaces the entire ldap config object Replaces the entire ldap config object. Endpoint: POST /syncthing/config/ldap Version: 6.6.1 Security: ZelID ## Request fields (application/json): - `config` (object) - `config.enabled` (boolean) - `config.address` (string) Example: "127.0.0.1:8384" - `config.unixSocketPermissions` (string) - `config.user` (string) - `config.password` (string) - `config.authMode` (string) Example: "static" - `config.useTLS` (boolean) - `config.apiKey` (string) Example: "bpNaKvaT72C8hfrxgh52g2zmLU7s" - `config.insecureAdminAccess` (boolean) - `config.theme` (string) Example: "default" - `config.debugging` (boolean) - `config.insecureSkipHostcheck` (boolean) - `config.insecureAllowFrameLoading` (boolean) ## Response 200 fields (application/json): - `status` (string) Explanation of status Enum: "success", "error" - `data` (object)