ValidateLicense
Response-body reference for POST /validate_license.
Example
{
"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
}
}
}
The response shape matches GET /get_license_status after successful validation.
Fields
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates whether the request succeeded. |
message | string | Optional server message. |
data.license_key | string | Configured license key. Treat this value as sensitive. |
data.valid | boolean | Whether the validated license is valid. |
data.license_type | string | License mode reported by the server, such as Internet or Air-gapped. |
data.permissions | object | License permission flags and limits. |