AddLdapAgentAsync

Returns (Task)

Create new Ldap Agent in the designated Folder.

Name Description
folder The folder to create the LDAP agent in
item The LDAP agent information to create

Add Ldap Agent Async

Example in C#

// Returns: LdapAgentInfo
var ldapAgentInfo = await client.AddLdapAgentAsync(FolderInfo folder, LdapAgentInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/ldapagents \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.LdapAgentInfo, Feenics.Keep.WebApi.Model",
                       "LastPing":null,
                       "Key":null,
                       "CommonName":"AgentExampleFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'