hornet icon

hornet

Interact with hornet API

Actions452

LDAP Connection Settings → Service Dashboard Ldap Connections Ldap Connection Id Post

AI-generated

Summary

Update LDAP connection settings for a given LDAP connection ID and object ID.

Inputs

  • object_id (required) — The ID of an object (user, customer, or partner). Sent as a query parameter.
  • ldap_connection_id (required) — The identifier of the LDAP connection. Used as a path parameter.
  • APP-ID (required) — App ID issued by Hornet Security. Sent as a header.
  • ldap_enabled (required) — Whether LDAP is enabled. Sent in the request body.
  • name (required) — Name of the LDAP connection. Sent in the request body.
  • user (required) — Username for LDAP authentication. Sent in the request body.
  • password — Password for LDAP authentication. Required to create the connection. Sent in the request body.
  • server (required) — LDAP server hostname or IP address. Sent in the request body.
  • port (required) — LDAP server port number. Sent in the request body.
  • ldaps (required) — Whether to use LDAPS (LDAP over SSL). Sent in the request body.
  • base_dn (required) — Base DN for LDAP searches. Sent in the request body.
  • sync_enabled (required) — Whether synchronization is enabled. Sent in the request body.
  • sync_filter — LDAP filter for synchronization; required when sync_enabled is true. Sent in the request body.

Output shape

object

The HTTP response from the Hornet API, typically the updated LDAP connection object.

Examples

Example 1: Updating an LDAP connection for a specific user.

Set object_id to the user's ID, ldap_connection_id to the target connection ID, provide APP-ID header, and fill in the LDAP connection details (server, port, credentials, etc.) in the body.

Links

Discussion