Configures, modifies, or retrieves LDAP server for AAA settings.
| URI | Description |
|---|---|
| <base_URI>/config/running/ldap-server/host | LDAP Server for AAA. |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/ldap-server/host
None
<host y:self="/rest/config/running/ldap-server/host/inetaddress">
<hostname>inetaddress</hostname>
<port>400</port>
<retries>6</retries>
<timeout>10</timeout>
<basedn>test</basedn>
<use-vrf>mgmt-vrf</use-vrf>
</host>
<host y:self="/rest/config/running/ldap-server/host/test">
<hostname>test</hostname>
</host>
The following is an example of the POST operation to add an LDAP server to the client server list.
http://host:80/rest/config/running/ldap-server
<host> <hostname>test_ACL</hostname> </host>
None
The following is an example of the DELETE operation to remove an LDAP server.
http://host:80/rest/config/running/ldap-server/host/test_API
None
None