---
title: "PATCH /api/internal/desktop/preferences"
method: PATCH
path: "/api/internal/desktop/preferences"
tags: ["Desktop"]
---

# PATCH /api/internal/desktop/preferences

`PATCH /api/internal/desktop/preferences`

## Request body

- object
  - `locale` 'en' | 'zh-CN'
  - `analyticsEnabled` boolean

## Response `200`

Updated desktop preferences

- object
  - `locale` 'en' | 'zh-CN', nullable, required
  - `analyticsEnabled` boolean, required

## Changes

> 31 revisions in range; 1 could not be searched.

- **2026-04-10** `04fbe64990b8` — 3 info
  - added the new optional request property `analyticsEnabled`
  - the request property `locale` became optional
  - added the required property `analyticsEnabled` to the response with the `200` status
- **2026-03-22** `b663242b0fcd` — 1 breaking
  - the response property `locale` became nullable for the status `200`
- **2026-03-22** `fecc80c70f2c` — 1 info
  - endpoint added
- **2026-03-19** `239b3cc94d80` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nexu-io/apis/nexu-controller-api/changes/api/internal/desktop/preferences/patch.md)

---

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