Sets Access Levels of a Person in batchWill remove any Access Levels not passed into the request Returns ()Exception Type: ArgumentNullExceptionaccessLevelHrefs - Empty href value
Overview of SetAccessLevelBatchForPersonByHrefsAsync goes here.
| Name | Description |
|---|---|
| person | The person to set access levels for |
| accessLevelHrefs | The Hrefs of the Access Levels to set on the Person. Will remove all that are not included. |
Example in C#
// Returns: nothing
await client.SetAccessLevelBatchForPersonByHrefsAsync(PersonInfo person, String accessLevelHrefs);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/accesslevelbatch \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-d '["/api/f/INSTANCE.KEY/accesslevels/ACCESSLEVEL_1.KEY", "/api/f/INSTANCE.KEY/accesslevels/ACCESSLEVEL_2.KEY"]'