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

# Update Preferences

`PATCH /api/me/preferences`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/me/preferences`
- Auth: HTTP bearer

## Request body

- PreferencesUpdate
  - `trace_collection_enabled` boolean, nullable
  - `tos_accepted` boolean, nullable

## Response `200`

Successful Response

- Preferences
  - `trace_collection_enabled` boolean, required
  - `tos_accepted` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
