Skip to main content

validate_license

Validate a license key/token pair and update the server's stored license credentials.

  • Method: POST
  • Path: /validate_license

Request Body

{
"key": "<redacted-license-key>",
"token": "<redacted-license-token>"
}
FieldTypeDescription
keystringLicense key to validate. Treat as sensitive.
tokenstringLicense token to validate. Treat as sensitive.

Success Response

{
"success": true,
"message": null,
"data": {
"license_key": "<redacted>",
"valid": true,
"license_type": "Internet",
"permissions": {
"max_streams": 100,
"images": true,
"live_video": true,
"archived_video": true,
"archive_search": true,
"live_search": true,
"face_recognition": true
}
}
}