---
title: "Get LDAP Server"
method: GET
path: "/ldapservers/{id}"
tags: ["LDAP Servers"]
---

# Get LDAP Server

`GET /ldapservers/{id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/ldapservers/{id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/ldapservers/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint returns a specific LDAP server.

##### Sample Request

```
 curl -X GET https://console.jumpcloud.com/api/v2/ldapservers/{LDAP_ID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'
```

## Headers

- `x-org-id` string

## Response `200`

- LdapServer
  - `id` string: Unique identifier of this LDAP server
  - `name` string: The name of this LDAP server
  - `userLockoutAction` 'disable' | 'remove': action to take; one of 'remove' or 'disable'
  - `userPasswordExpirationAction` 'disable' | 'remove': action to take; one of 'remove' or 'disable'

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
