We’d like to delete a device’s existing application key before the device is reprogrammed and assigned a new app key, in order to keep the number of active keys down and not have more than one key assigned to a device. Currently, it seems as though the only way to delete a device’s existing app key is to retrieve all keys, then search by the “deviceIds” element in order to get the app key’s id.
Can there be an easier way to retrieve a device’s key without retrieving all keys for an application? Maybe providing the access key ids in the GET device response, or allowing the GET keys request to filter on “deviceIds”?