If you use the Get Device Endpoint, does it return the switchProfileId?
RHB@wopr ~ % curl -L --request GET \
--url https://api.meraki.com/api/v1/devices/<serial> \
--header 'Authorization: Bearer xxx' \
--header 'Accept: application/json'
{"lat":nn,"lng":nn,"address":"","serial":"","mac":"34:56:fe","lanIp":"192.168.128.4","url":"","networkId":"","tags":[],"name":"Home-MS120-8LP","details":[],"model":"MS120-8LP","switchProfileId":null,"firmware":"switch-16-7-1","floorPlanId":""}
LinkedIn :::
https://blog.rhbirkelund.dk/Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution
🙂All code examples are provided as is. Responsibility for Code execution lies solely your own.