DeleteCardAssignmentAsync

Deletes a card assignment. Returns (Task)

This will expire any card assignment and if its a mobile credential is will revoke the credential.

Name Description
cardAssignment The card assignment to delete

Delete Card Assignment Async

Example in C#

// Returns: nothing
await client.DeleteCardAssignmentAsync(CardAssignmentInfo cardAssignment);

Example in CURL



           curl -X DELETE \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/cards/CARDASSIGNMENT.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'