Edit License Details

To update a license, use the following request:

PUT /settings.xml
PUT /settings.json

XML Request example

curl -i -X PUT -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<configuration><isolated_license>false</isolated_license><license_key>NNNNN-NNNNN-NNNNN-NNNNN-NNNNN-NNNNN</license_key></configuration>' --url http://onapp.test/settings.xml

JSON Request example

curl -i -X PUT -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '{"configuration":{"isolated_license":"true","license_key":"NNNNN-NNNNN-NNNNN-NNNNN-NNNNN-NNNNN"}}' --url http://onapp.test/settings.json

Where:

isolated_license – true, if the isolated license is used on the CP, otherwise, false 

license_key – the key of your OnApp license

Page history

v. 5.6

Added the isolated_license parameter.