---
title: "Update"
method: PATCH
path: "/users/me/preferences"
tags: ["Users"]
---

# Update

`PATCH /users/me/preferences`

Updates the authenticated user's settings document. Replaces the top-level keys it is given and leaves the rest untouched.

## Request body

- object
  - `investigation_enabled` boolean — Whether investigation mode is enabled for the user. Only meaningful for staff users with investigation access.

## Response `200`

preferences updated

- UserPreferences
  - `investigation_enabled` boolean, required — Whether investigation mode is enabled for the user. Only meaningful for staff users with investigation access.

## Other responses

- `400` — Invalid Parameters
- `401` — Unauthorized

---

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