---
title: "Patch Bg Theme Pref Route"
method: PATCH
path: "/api/auth/bg-theme-pref"
tags: ["auth"]
---

# Patch Bg Theme Pref Route

`PATCH /api/auth/bg-theme-pref`

## Request

- Base URL: `https://api.zugabot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.zugabot.ai/api/auth/bg-theme-pref`
- Auth: none declared

Persist the users account-scoped wallpaper theme id.

## Request body

- BgThemePrefBody
  - `theme` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zugabot/apis/spiritus.md) · [All operations](https://skmtc.dev/zugabot/apis/spiritus/llms.txt) · [OpenAPI document](https://skmtc.dev/zugabot/apis/spiritus/revisions/f20ef4524415?raw)
