Adds a new ACRE intrusion user to the specified folder and associates it with a person. Returns (Task)
Overview of AddAcreIntrusionUserAsync goes here.
| Name | Description |
|---|---|
| folder | The folder to add the user to |
| AcreIntrusionUser | The ACRE intrusion user information to add |
| person | The person to associate with the ACRE intrusion user |
Example in C#
// Returns: AcreIntrusionUserInfo
var acreIntrusionUserInfo = await client.AddAcreIntrusionUserAsync(FolderInfo folder, AcreIntrusionUserInfo AcreIntrusionUser, PersonInfo person);
Example in CURL
curl -X POST \
'https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/acreintrusionusers?personObjectId=PERSON.KEY' \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.AcreIntrusionUserInfo, Feenics.Keep.WebApi.Model",
"CommonName":"IntrusionUser_for_cURL",
"UserId":"USER123"
}'