---
title: "Update preferences for the current user"
method: PUT
path: "/user-preferences"
tags: ["User Preferences"]
---

# Update preferences for the current user

`PUT /user-preferences`

showHostTags, hostTrayOnClick, compactHostView, statusColorScheme and foldersCollapsed are no longer accepted here -- they moved to PUT /host-sidebar/preferences as part of the sidebar redesign.

## Request body

- object
  - `reopenTabsOnLogin` boolean
  - `theme` string
  - `fontSize` string
  - `accentColor` string
  - `language` string
  - `storageMode` string
  - `commandAutocomplete` boolean
  - `commandPaletteEnabled` boolean
  - `pinAppRail` boolean
  - `expandAppRailOnHover` boolean
  - `confirmSnippetExecution` boolean
  - `disableUpdateCheck` boolean
  - `confirmTabClose` boolean
  - `hiddenRailTabs` string
  - `customThemes` string — JSON-encoded array of the user's saved global custom terminal themes.
  - `customKeybindings` string — JSON-encoded array of the user's custom terminal keybindings.

## Response `200`

Preferences updated successfully.

---

[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)
