Uploading License Key File

Uploading a license file to the Metadefender Core.

There are two ways two obtain a license key file:

Request

Value

Method

POST

URL

/admin/license

Request HTTP header parameters:

name

type

required

value

apikey

string

true

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

Request body contains a license file

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

{
"err": "Invalid license"
}

Unexpected event on server

HTTP status code: 500

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

Note: Check Metadefender Core server logs for more information.