Easier way to delete app key(s) associated with a device

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”?

Hi @Paul_Muschick,

I think there is definitely a use case for this, I will create a feature request and let you know if it is selected for implementation.

Have a great day!