List The Licenses For An Organization

GET {{baseUrl}}/organizations/:organizationId/licenses

List the licenses for an organization

Request Params

KeyDatatypeRequiredDescription
perPagestringThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
startingAfterstringA token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBeforestringA token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
deviceSerialstringFilter the licenses to those assigned to a particular device
networkIdstringFilter the licenses to those assigned in a particular network
statestringFilter the licenses to those in a particular state. Can be one of 'active', 'expired', 'expiring', 'unused', 'unusedActive' or 'recentlyQueued'

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull

RESPONSES

status: OK

[{"id":"1234","licenseType":"MX64-ENT","licenseKey":"Z21234567890","orderNumber":"4C1234567","deviceSerial":"Q234-ABCD-5678","networkId":"N_24329156","state":"active","seatCount":null,"totalDurationInDays":425,"durationInDays":365,"permanentlyQueuedLicenses":[{"id":"5678","licenseType":"MX64-ENT","licenseKey":"Z21234567890","orderNumber":"4C1234567","durationInDays":60}],"claimDate":"2019-08-29T12:40:10Z","activationDate":"2019-09-01T15:01:46Z","expirationDate":"2020-10-30T15:01:46Z"}]