/api/license/activate
Use this interface to activate your license.
System configuration editing permissions are required.
Prototype
Protocol |
HTTP/HTTPS POST |
URL |
ip[:port]/api/license/activate |
Content-Type |
Request: Content-Type: application/json Response: Content-Type: application/json |
Request Cookies
Parameter |
Description |
mwcloud-sid |
A string that is used to identify current logged-in user. |
mwcloud-uid |
Current logged-in username. |
Request Body
Parameter |
Description |
user-name |
Use the user name as certificate title. |
sn |
Certificate serial number. |
Request Example
POST /api/license/activate HTTP/1.1
Accept: application/json, text/plain, */*
Content-Type: application/json;charset=utf-8
Content-Length: 56
Connection: keep-alive
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin;
{
"sn": "9C4E***********F769",
"user-name": "magewell-ltd"
}
Response Parameters
Parameter |
Description |
Content-Type |
Value: 'application/json; charset=UTF-8' |
Response Body
Response Example
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
content-length: xx
{
"result": 0
}