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

ResourceOperation
/organizations/{organizationId}/licenses/{licenseId}update

Request Body

{"deviceSerial"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: OK

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