---
title: "Get a single Redis Software LDAP mapping"
method: GET
path: "/v1/ldap_mappings/{uid}"
tags: ["LDAP Mapping"]
---

# Get a single Redis Software LDAP mapping

`GET /v1/ldap_mappings/{uid}`

Get a single LDAP mapping by unique ID.

## Path parameters

- `uid` integer, required

## Response `200`

LDAP mapping information.

- LdapMapping — An API object that represents a Redis Software LDAP mapping.
  - `account_id` integer — SM account ID.
  - `bdbs_email_alerts` string[] — UIDs of databases that LDAP mapping users will receive alerts for.
  - `cluster_email_alerts` boolean — Activate cluster email alerts for an LDAP mapping.
  - `dn` string, required — LDAP group's distinguished name.
  - `email` string, required — LDAP mapping's email.
  - `email_alerts` boolean, required — Activate email alerts for an LDAP mapping.
  - `name` string, required — LDAP mapping's name.
  - `role_uids` integer[], required — List of role uids associated with the LDAP mapping.
  - `action_uid` string — Action uid. If exists - progress can be tracked by the GET /actions/<uid> API.
  - `uid` integer, required — LDAP mapping's unique uid.

## Other responses

- `403` — Forbidden
- `404` — Not Found

## Changes

- **2026-05-18** `cf74e76d3866` — 7 breaking, 4 warning, 1 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `dn` from the response with the `200` status
  - removed the required property `email` from the response with the `200` status
  - removed the required property `email_alerts` from the response with the `200` status
  - …8 more
- **2026-04-30** `a9fa3b52b6a6` — 1 info
  - endpoint added
- **2026-01-23** `9fdf3bc7ad77` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/redis/apis/redis-software-rest-api/changes/v1/ldap_mappings/:uid/get.md)

---

[API](https://skmtc.dev/redis/apis/redis-software-rest-api.md) · [All operations](https://skmtc.dev/redis/apis/redis-software-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/redis/redis-software-rest-api/revisions/caec2005b95b/schema)
