Enable/disable analytics collection
Enable/disable analytics collection on the device. Enabled
(is_enabled: true) by default, including after a factory reset.
Restricted to a dedicated service account custom (logged in via
/login with username=custom and the device's admin password).
No other account type has access to this endpoint, and this
account type has no access to any other endpoint.
- application/json
Request Body
- is_enabled boolean required
describes the feature status
Responses
- 200
- 400
- 401
- 403
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- error string
error type/info
{
"error": "Wrong JSON body"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Forbidden
Loading...