Default

Get current LDAP config

get

Get current LDAP config

Authorizations
Responses
200

Current config

application/json
get
/ldap_config
GET /api/v2/ldap_config HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
200

Current config

{
  "id": 1,
  "host": "text",
  "port": 1,
  "admin_path": "text",
  "admin_password": "text",
  "user_base_path": "text",
  "user_filter_template": "text"
}

Set LDAP config

post

Set LDAP config

Authorizations
Body
idintegerOptional
hoststringOptional
portintegerOptional
admin_pathstringOptional
admin_passwordstringOptional
user_base_pathstringOptional
user_filter_templatestringOptional
Responses
200

Success or errorr

application/json
Responseone of
or
post
/ldap_config
POST /api/v2/ldap_config HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 129

{
  "id": 1,
  "host": "text",
  "port": 1,
  "admin_path": "text",
  "admin_password": "text",
  "user_base_path": "text",
  "user_filter_template": "text"
}
200

Success or errorr

{
  "ok": null
}

Last updated

Was this helpful?