---
title: "POST /gateway-update-ldap-auth-config"
method: POST
path: "/gateway-update-ldap-auth-config"
tags: ["Gateway"]
---

# POST /gateway-update-ldap-auth-config

`POST /gateway-update-ldap-auth-config`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/gateway-update-ldap-auth-config`
- Auth: none declared

## Request body

- GatewayUpdateLdapAuthConfig: gatewayUpdateLdapAuth is a command that updates ldap auth config
  - `access-id` string: The access ID of the Ldap auth method
  - `bind-dn` string: Bind DN
  - `bind-dn-password` string: Bind DN Password
  - `group-attr` string: Group Attr
  - `group-dn` string: Group Dn
  - `group-filter` string: Group Filter
  - `json` boolean: Set output format to JSON
  - `ldap-ca-cert` string: LDAP CA Certificate (base64 encoded)
  - `ldap-enable` string: Enable Ldap [true/false]
  - `ldap-url` string: LDAP Server URL, e.g. ldap://planetexpress.com:389
  - `signing-key-data` string: The private key (base64 encoded), associated with the public key defined in the Ldap auth
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication
  - `user-attribute` string: User Attribute
  - `user-dn` string: User DN

## Response `201`

GatewayUpdateLdapAuthConfigResponse wraps response body.

- GatewayUpdateLdapAuthConfigOutput
  - `updated` boolean

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/infrastructure-connectivity.md) - [All operations](https://skmtc.dev/akeyless/apis/infrastructure-connectivity/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/infrastructure-connectivity/revisions/62dc62fea89d?raw)
