---
title: "Replace one section of own UI preferences"
method: PUT
path: "/api-regulated/v1/users/self/preferences/{section}"
tags: ["User"]
---

# Replace one section of own UI preferences

`PUT /api-regulated/v1/users/self/preferences/{section}`

## Request

- Base URL: `https://api.currencyguard.com`
- URL: `https://api.currencyguard.com/api-regulated/v1/users/self/preferences/{section}`
- Auth: HTTP bearer

Replaces a single named section, leaving the others untouched, so two pages or two browser tabs can each save what they own without discarding the other's work. Returns the full preferences after the write.

## Path parameters

- `section` string, required

## Request body

- JsonNode: UI preferences for this user, namespaced by section.

## Response `200`

Preferences updated

## Other responses

- `400`: Section name missing or blank — [`http/malformed-request`](/problems/http/malformed-request/)
- `401`: Not authenticated — [`security/authentication-failed`](/problems/security/authentication-failed/)
- `403`: Not authorized — [`security/insufficient-permissions`](/problems/security/insufficient-permissions/)
- `404`: User record not found — [`http/resource-not-found`](/problems/http/resource-not-found/)
- `500`: Server error — [`server/internal-error`](/problems/server/internal-error/)

---

[API](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external.md) · [All operations](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/revisions/a1f3f854190d?raw)
