Update A License
PUT {{baseUrl}}/organizations/:organizationId/licenses/:licenseId
Update a license #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: deviceSerial| string| The serial number of the device to assign this license to. Set this to null to unassign the license. If a different license is already active on the device, this parameter will control queueing/dequeuing this license.
Supports Action Batches
Resource | Operation |
---|---|
/organizations/{organizationId}/licenses/{licenseId} | update |
Request Body
{"deviceSerial"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
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"}