---
title: "Update analytics enabled setting (admin only)"
method: PATCH
path: "/users/analytics-enabled"
tags: ["Users"]
---

# Update analytics enabled setting (admin only)

`PATCH /users/analytics-enabled`

Enables or disables the daily anonymous usage telemetry heartbeat.

## Request body

- object
  - `enabled` boolean

## Response `200`

Setting updated.

## Other responses

- `403` — Not authorized.
- `409` — Setting is locked by the ENABLE_TELEMETRY environment variable.
- `500` — Failed to update setting.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
