---
title: "Set My Theme"
method: PATCH
path: "/api/v1/auth/me/theme"
tags: ["v1", "Auth"]
---

# Set My Theme

`PATCH /api/v1/auth/me/theme`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/auth/me/theme`
- Auth: none declared

Self-service default-theme update for the current user.

Same posture as /me/language: NOT gated by a module permission, because
every user (including floor workers whose role cannot read or write
personnel records) must be able to choose how their own screen looks.

Writes users.preferred_theme ONLY. It is deliberately not mirrored to the
personnel record the way language is: language drives SMS and notification
templates that reach the worker off-device and that a manager legitimately
sets on the HR record, whereas a theme affects nothing outside this
person's browser.

This sets the account DEFAULT, which is the middle rung of the cascade in
frontend/src/theme/theme-provider.js. The sidebar switcher does not call
this - it writes a device-local override and leaves this column alone.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
