---
title: "Update My Preferences"
method: PATCH
path: "/api/auth/me/preferences"
tags: ["auth"]
---

# Update My Preferences

`PATCH /api/auth/me/preferences`

## Request

- Base URL: `https://api.sambodh-ias.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sambodh-ias.in/api/auth/me/preferences`
- Auth: none declared

Persist the user's UI/content language. Validated against the supported set;
the client mirrors this into a cookie (web) / secure store (mobile) so the
locale survives logout and is available before /auth/me resolves.

## Headers

- `authorization` string, nullable

## Request body

- PreferencesRequest
  - `preferred_language` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2.md) · [All operations](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/llms.txt) · [OpenAPI document](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/revisions/258843d1f806?raw)
