---
title: "Retrieve all LDAP groups"
method: GET
path: "/api/ldap/groups"
tags: ["Group Management"]
---

# Retrieve all LDAP groups

`GET /api/ldap/groups`

Returns a list of all groups from the configured LDAP directory with their members

## Response `200`

Successfully retrieved all LDAP groups

- object
  - `success` boolean
  - `message` object — Dictionary of group names to group information

## Other responses

- `400` — Malformed client input
- `500` — Unable to connect to LDAP server

---

[API](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/versions/6db97cead8df/schema)
