Group Management

Retrieve all LDAP groups

Returns a list of all groups from the configured LDAP directory with their members. Supports optional typeahead mode via the q parameter.

get/api/ldap/groups

Query parameters

qstring
Example:dev

Typeahead filter (minimum 2 characters). When provided, returns a small filtered list of matching group names instead of the full directory.

max_resultsinteger
Example:50

Maximum number of results to return in typeahead mode. Clamped to 1-200.

Response

Successfully retrieved all LDAP groups

successboolean
messageobject

Dictionary of group names to group information

Example response

{
  "success": true,
  "message": {
    "developers": {
      "group_dn": "cn=developers,ou=group,dc=soca,dc=local",
      "members": [
        "john.doe",
        "jane.smith"
      ]
    },
    "admins": {
      "group_dn": "cn=admins,ou=group,dc=soca,dc=local",
      "members": [
        "admin"
      ]
    }
  }
}

Changes