skip to main content
Corticon Server: Integration & Deployment Guide : Corticon API reference : REST Management API : Summary of REST methods for management of Decision Services : API Set Server License
 

Try Corticon Now
API Set Server License
<base>/server/setLicense
HTTP POST
Sets the license file for the server. This can be used to add a license in the event the current one is not usable. The format for the request JSON object is as follows:
{
"licenseFile" : <The license file encoded into a base64 string>,
"licenseFileName" : <Optional, The name of the license file>
}
In the event of an error a standard error object will be included in the response. If the license file was valid and set successfully an empty object is returned:
{}
Success status code: 200 OK
Error status codes:
*500 Internal Server Error
*400 Bad Request