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>"
}
| Field | Type | Description |
|---|---|---|
key | string | License key to validate. Treat as sensitive. |
token | string | License 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
}
}
}