AddLdapQueryToAgent

Returns (Task)

Register a Ldap Query onto the designated Ldap Agent.

Name Description
ldapAgent The LDAP agent to add the query to
ldapQuery The LDAP query to add

Add Ldap Query To Agent

Example in C#

// Returns: nothing
await client.AddLdapQueryToAgent(LdapAgentInfo ldapAgent, LdapQueryInfo ldapQuery);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/ldapagents/AGENT.KEY/connections/LdapQuery?isOneToOne=False&relatedKey=QUERY.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d 'null'