ServerMania logo

Edit Software License

To edit a software license details, use the following request:

PUT /software_licenses/:id.xml
PUT /software_licenses/:id.json

XML Request Example

curl -i -X PUT -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<software_license><arch>x64</arch><total>1</total><distro>2003</distro><count>1</count><tail>R2</tail><edition type="array"><edition>WEB</edition></edition><license>RRRRR-IIIII-JJJJJ-KKKKK-WWWWW</license></software_license>' --url http://test/software_licenses/12.xml


arch - Windows OS architecture (x64 or x86)

total - the total number of machines allowed by the license

distro - Windows OS distribution (2003, 2008, Windows 7)

count - the number of licenses used of a total allowed

tail - parameter specifies the updated release of Windows OS distribution. If updated, than parameter is R2, otherwise – empty

edition - Windows OS edition or an array of editions if allowed by the license (STD – Standard, ENT –Enterprise, WEB – web and DC – Data center)

license - the license for the software on which the template will be based