Thanks Roman and Inderdeep.
I also found a documentation at
https://documentation.meraki.com/General_Administration/Licensing/Meraki_Per-Device_Licensing_Overvi...
Let me try and map the api response to the ones from the documentation, please validate if this looks correct.
1.'active', --- the license is assigned to a device. This is expected state of the license in the org.
Burn/Active - The license has started to tick and time remaining starts to decrement.
Active & Associated - A license has been associated to a device and is burning. A license in this state can only be reassigned to a device that is either unlicensed or a device that has an expired license. An active & associated device cannot be used to extend time on a device with an active license.
2.'expired',----> the license is expired. expirationDate is in the past.
3.'expiring',----> the license expirationDate is less than 30 days from now.
4.'unused',----> License was claimed in the Organization but was not assigned to any device. 90 days have not passed yet, so activationDate has not yet started.
Inactive & Unassociated - A license is not associated to a device and has not started to burn. The license is within the defined pre-activation period.
5.'unusedActive'----> License is not assigned to any device but activationDate is in the past.
Active & Unassociated/Unused active - A license has not been associated to a device, but has started to burn. This typically happens when the pre-activation period is over, but the license has yet to be associated to a device. In this state, the license can only be applied to a device that does not have an active license (e.g. a new device).
Burn/Active - The license has started to tick and time remaining starts to decrement.
6.'recentlyQueued'----> can't imagine what this could be.
Queued - A license that is being assigned to a device that already has an existing license. It will take 7 days for the license to merge. The license will not be queued if the device did not previously have a license.
7. ??? API state? : Dont know if this is returned by the api ???
Inactive & Associated - A license is assigned to a device, but it has not started to burn. This typically happens in the case where a customer adds an additional license to a device that already has an active license (renewal). This license will become active when the first device’s time expires.
NOTE: This state can only happen with a license that has not already been active (started to burn).
Thanks