For the complete documentation index, see llms.txt. This page is also available as Markdown.

Preview the changes a full LDAP sync would make

Uses the settings from the request body, which do not have to be saved yet. Read-only: nothing is imported, removed or persisted.

post
Authorizations
defguard_sessionstringRequired
Body
objectOptional
Responses
200

Dry run result.

application/json
objectOptional
post/api/v1/ldap/dry_run
POST /api/v1/ldap/dry_run HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "defguard": [
    {
      "action": "add",
      "email": "jane@example.com",
      "first_name": "Jane",
      "last_name": "Doe",
      "username": "jane"
    }
  ],
  "ldap": [
    {
      "action": "remove",
      "email": "john@example.com",
      "first_name": "John",
      "last_name": "Doe",
      "username": "john"
    }
  ]
}

Last updated

Was this helpful?