Set the IsDisabled flag to enable / disable an active card assignment Returns ()
Overview of SetIsDisabledAsync goes here.
| Name | Description |
|---|---|
| cardAssignment | The card assignment to enable or disable |
| isDisabled | True to disable the card, false to enable it |
Example in C#
// Returns: nothing
await client.SetIsDisabledAsync(CardAssignmentInfo cardAssignment, Boolean isDisabled);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/cards/CARDASSIGNMENT.KEY/setisdisabled?isDisabled=[true|false] \
-H 'Authorization: Bearer TOKEN_GOES_HERE'