---
title: "Update Account Preferences"
method: PATCH
path: "/account/prefs"
tags: ["account"]
---

# Update Account Preferences

`PATCH /account/prefs`

Update currently logged in user account preferences. You can pass only the specific settings you wish to update.

## Request body

- object
  - `prefs` object, required — Prefs key-value JSON object.

## Response `200`

User

- User — User
  - `$id` string, required — User ID.
  - `email` string, required — User email address.
  - `emailVerification` boolean, required — Email verification status.
  - `name` string, required — User name.
  - `passwordUpdate` integer, required — Unix timestamp of the most recent password update
  - `prefs` object, required — User preferences as a key-value object
  - `registration` integer, required — User registration date in Unix timestamp.
  - `status` integer, required — User status. 0 for Unactivated, 1 for active and 2 is blocked.

---

[API](https://skmtc.net/appwrite/apis/client.md) · [All operations](https://skmtc.net/appwrite/apis/client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/appwrite/client/versions/b1c00a0bc3fb/schema)
