Removes Access Levels from a Person in batch Returns () Removes Access Levels from a Person in batch Returns ()Exception Type: ArgumentNullException
Overview of RemoveAccessLevelBatchForPersonAsync goes here.
| Name | Description |
|---|---|
| person | The person to remove access levels from |
| accessLevelLinkItems | The Access Level Object Link Items to remove from the PersonAll Object Link Items provided must have the relation ‘AccessLevel’ |
| personHref | The href of the person to remove access levels from |
| accessLevelLinkItems | The Access Level Object Link Items to remove from the PersonAll Object Link Items provided must have the relation ‘AccessLevel’ |
| batchLink | The link on the Person to use to send the batch request |
Example in C#
// Returns: nothing
await client.RemoveAccessLevelBatchForPersonAsync(PersonInfo person, ObjectLinkItem accessLevelLinkItems);
Example in C#
// Returns: nothing
await client.RemoveAccessLevelBatchForPersonAsync(String personHref, ObjectLinkItem accessLevelLinkItems, String batchLink);
Example in CURL
curl -X DELETE \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/accesslevelbatch2 \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-d '[
{
"LinkedObjectKey": "{ACCESSLEVEL1.KEY}",
"Relation": "AccessLevel"
},
{
"LinkedObjectKey": "{ACCESSLEVEL2.KEY}",
"Relation": "AccessLevel"
}
]'
Example in CURL
curl -X DELETE \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/accesslevelbatch2 \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-d '[
{
"LinkedObjectKey": "{ACCESSLEVEL1.KEY}",
"Relation": "AccessLevel"
},
{
"LinkedObjectKey": "{ACCESSLEVEL2.KEY}",
"Relation": "AccessLevel"
}
]'