8.1.2.1. Activate License Online

This API initiates an online activation of the deployment.

Request

Value

Method

POST

URL

/admin/license/activation

Request HTTP header parameters:

name

type

required

value

apikey

string

true

Session id, can be acquired by 8.1.1.1. Login / Create a Session

Request body:

JSON path

Type

Required

Value

activationKey

string

true

activation key

quantity

number

true

maximum node count this instance allows to connect

comment

string

false

description to help identify this deployment later

Example:

{
"activationKey": "xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx",
"quantity": "1",
"comment": "Core server 001 for Kiosks"
}

Successful response

HTTP status code: 200

Response contains

{
"success": true
}

Error response

Invalid user information

HTTP status code: 403

{
"err": "Access denied"
}

HTTP status code: 400

{
"error": "<error message>"
}

Unexpected event on server

HTTP status code: 500

{
"err": "<error message>"
}

Note: Check Metadefender Core server logs for more information.