AddAcreIntrusionUserProfileAsync

Adds a new ACRE intrusion user profile to the specified folder and associates it with an access level. Returns (Task)

Overview of AddAcreIntrusionUserProfileAsync goes here.

Name Description
folder The folder to add the user profile to
AcreIntrusionUserProfile The ACRE intrusion user profile information to add
AccessLevel The access level to associate with the user profile

Add Acre Intrusion User Profile Async

Example in C#

// Returns: AcreIntrusionUserProfileInfo
var acreIntrusionUserProfileInfo = await client.AddAcreIntrusionUserProfileAsync(FolderInfo folder, AcreIntrusionUserProfileInfo AcreIntrusionUserProfile, AccessLevelInfo AccessLevel);

Example in CURL



           curl -X POST \
               'https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/acreintrusionuserprofiles?accessLevelObjectId=AL.KEY' \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.AcreIntrusionUserProfileInfo, Feenics.Keep.WebApi.Model",
                       "CommonName":"UserProfile_for_cURL"
                   }'