---
title: "Replace the editor preferences blob."
method: PUT
path: "/preferences"
tags: ["Account"]
---

# Replace the editor preferences blob.

`PUT /preferences`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/preferences`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Owner-Id`

## Request body

- object
  - `prefs` object, required

## Response `204`

Success.

## Other responses

- `400`: Error.
- `401`: Error.
- `429`: Rate limited. Back off and retry.

---

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