Enable analytics data gathering

This function enables or disables Interface Analytics.

SecurityBasicAuth
Request
query Parameters
enabled
required
integer

Whether to enable Interface Analytics.

  • 1 — Enable.
  • 0 — Disable.
Enum: 0 1
Example: enabled=1
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/participate_in_analytics
Request samples
whmapi1 --output=jsonpretty \
  participate_in_analytics \
  enabled='1'
Response samples
application/json
{
  • "metadata": {
    • "command": "participate_in_analytics",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}