CreateAuthTokenByMacAddressAsync

Creates an authentication token for a controller or service container by MAC address. User must have Read access to the folder containing the device. Returns (Task containing the token and expiration)Exception Type: FailedOutcomeExceptionThrown when device not found, user lacks access, or token generation fails

Overview of CreateAuthTokenByMacAddressAsync goes here.

Name Description
macAddress The MAC address of the controller or service container

Create Auth Token By Mac Address Async

Example in C#

// Returns: AuthServiceResponse
var authServiceResponse = await client.CreateAuthTokenByMacAddressAsync(String macAddress);

Example in CURL



           curl -X POST \
               'https://api.us.acresecurity.cloud/api/management/authtoken?macAddress=0000-0101-0133-0566-9001' \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'