Update LDAP Settings

Update the LDAP settings array. Make sure to send all records back or you might remove existing records. To delete a LDAP record, remove it from the array and then update.

Definition

PATCH https://listener-app-services.teradata.com/v1/admin/settings/ldap HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X PATCH \
  -d '[
    {
      "base_dn": "ou=Users,DC=ldap,DC=web,DC=com",
      "email_field": "mail",
      "encryption": "tls",
      "member_of_field": "memberOf",
      "name": "my LDAP updated server",
      "name_field": "name",
      "port": 389,
      "search_pass": "password",
      "search_user": "cn=ab123456,ou=Users,DC=ldap,DC=web,DC=com",
      "server": "ldap.web.com",
      "validate_ssl": false
    }
  ]' \
  -i \
  https://listener-app-services.teradata.com/v1/admin/settings/ldap

Example Response

HTTP/1.1 200 OK
Content-Type: application/json
[
  {
    "base_dn": "ou=Users,DC=ldap,DC=web,DC=com",
    "email_field": "mail",
    "encryption": "tls",
    "member_of_field": "memberOf",
    "name": "my LDAP updated server",
    "name_field": "name",
    "port": 389,
    "search_pass": "password",
    "search_user": "cn=ab123456,ou=Users,DC=ldap,DC=web,DC=com",
    "server": "ldap.web.com",
    "validate_ssl": false
  }
]

Response Codes

CodeDescription
200Settings successfully updated.
401Authorization header not found.

results matching ""

    No results matching ""