With per device licensing, I'm able to get the license type:
"licenseType": "MX64-ENT"
But for orgs with the co-termination model, I can't seem to find a way to determine if an organization has Advanced Security licenses. The getOrganizationLicensesOverview endpoint only returns the device counts, without specifying which license is in use.
Aside from manually tagging the orgs in question, is there a way for me to determine this using the API?
Solved! Go to Solution.
https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-security-malware
This one works for me. It returns the following for a network in an org that doesn't have advanced security:
{
"errors": [
"Advanced Malware Protection (AMP) is not supported by this network"
]
}
https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-security-malware
This one works for me. It returns the following for a network in an org that doesn't have advanced security:
{
"errors": [
"Advanced Malware Protection (AMP) is not supported by this network"
]
}
Similarly, https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-security-intrusion will return an error if the organization does not have an advanced security license, like this:
{
"errors": [
"This endpoint requires an advanced security license"
]
}