API reference
PUTRequires Bearer token
Update LDAP connection
/api/contacts/ldap-connections/{connection_id}
All fields optional. Same shape as create.
Path parameters
| Field | Type | Description |
|---|---|---|
connection_id Required | string | Path parameter connection_id. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
name | string | Connection label. e.g. "Corporate AD" |
host | string | LDAP host. |
port | integer | LDAP port. e.g. 389 |
use_ssl | boolean | Use LDAPS. e.g. false |
bind_dn | string | Bind DN. |
bind_password | string | Bind password (omit to keep the stored secret). |
base_dn | string | Search base DN. |
search_filter | string | LDAP search filter. |
attribute_map | object | Map contact fields → LDAP attributes. |
active | boolean | Whether the connection can be used. e.g. true |
Responses
| Status | Meaning |
|---|---|
| 200 | Updated |
| 401 | Missing or invalid Bearer token. |