Disable all active cards assigned to the people returned from the search expression Returns ()
Overview of DisableActiveCardsAsync goes here.
Name | Description |
---|---|
folder | The starting point of the query search. Unless specified in the query, the system will include child folders |
query | A valid mongodb query searching for people to disable |
trialRun | Will return the ExtendedCardExpiryResponse without the actual processing. Use this to confirm the total number of expected updates. |
Example in C#
// Returns: ExtendCardExpiryResponse
var extendCardExpiryResponse = await client.DisableActiveCardsAsync(FolderInfo folder, String query, Boolean trialRun);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/extendcards \
-H 'Authorization: Bearer TOKEN_GOES_HERE'\
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.ExtendCardExpiryRequest, Feenics.Keep.WebApi.Model",
"Disable":true,
"PersonSearchQuery":"{'_t':'Person','Tags':{'$ne':'management'}}",
"TrialRun":false
}'