How to get a device by his mac

How can i request the management api to get a device by his mac ?

Hi @jflorimo,

thanks for getting in touch! This is not directly possible, as the MAC address is a possible identifier, but not one that is guaranteed to be relevant nor one per device. So the process would be to get the device inventory, and then match on the mac_address property. See documentation here. If you are on Hosted Mender or Enterprise on-premise, then you can also use the more streamlined filters through the API directly.

Greetz,
Josef