Labs64 / NetLicensing-Community

NetLicensing Community Support
https://netlicensing.io
MIT License
5 stars 1 forks source link

How to reset "licenseeSecret" #53

Closed r-brown closed 1 year ago

r-brown commented 1 year ago

Question How to reset the value of "licenseeSecret" for one of the customers?

r-brown commented 1 year ago

Licensee Secret is a deprecated feature and effectively has been replaced by the Node-Locked licensing model. licenseeSecret property support was also removed from the NetLicensing Management Console.

We advise using NetLicensing RESTful API to manipulate licensee properties.

Below curl example can be used to unset licenseeSecret property; an empty value needs to be provided.

curl -X POST \
--header 'Content-Type: application/x-www-form-urlencoded'  \
--header 'Accept: application/xml' \
--header 'Authorization: Basic ...' \
-d 'licenseeSecret=' \
'https://go.netlicensing.io/core/v2/rest/licensee/cust02%40local.local' | xmllint --format -

where: