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

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

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

## 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.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
