LDAP Mapping

Get a single Redis Software LDAP mapping

Changed on

Get a single LDAP mapping by unique ID.

get/v1/ldap_mappings/{uid}

Request

  • Base URL
    https://localhost:9443
  • URL
    https://localhost:9443/v1/ldap_mappings/{uid}
  • Auth
    API key in header r-auth-user

Path parameters

uidinteger required

The LDAP mapping unique ID.

Response

LDAP mapping information.

account_idinteger

SM account ID.

bdbs_email_alertsstring[]

UIDs of databases that LDAP mapping users will receive alerts for.

cluster_email_alertsboolean

Activate cluster email alerts for an LDAP mapping.

dnstring required

LDAP group's distinguished name.

emailstring required

LDAP mapping's email.

email_alertsboolean required

Activate email alerts for an LDAP mapping.

namestring required

LDAP mapping's name.

role_uidsinteger[] required

List of role uids associated with the LDAP mapping.

action_uidstring

Action uid. If exists - progress can be tracked by the GET /actions/<uid> API.

uidinteger required

LDAP mapping's unique uid.

Example response

{
  "dn": "OU=ops.group,DC=redislabs,DC=com",
  "email": "ops.group@redislabs.com",
  "email_alerts": true,
  "name": "Admins",
  "role_uids": [
    1
  ],
  "uid": 17
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      endpoint added