---
title: "Update sidebar preferences"
method: PATCH
path: "/sidebar_preference"
tags: ["sidebar_preferences"]
---

# Update sidebar preferences

`PATCH /sidebar_preference`

Merges the supplied sidebar ordering and visibility fields into the authenticated user's persisted preferences.

## Request body

- object
  - `sidebar_preference` object, required
    - `section_order` string[] — Ordered sidebar section keys
    - `favorite_order` string[] — Ordered favorite item keys
    - `workspace_order` string[] — Ordered workspace item keys
    - `favorite_visible_count` string — Visible favorites count from 0 to 100, or off
    - `workspace_visible_count` string — Visible workspace count from 0 to 100, or off
    - `recent_visible_count` number — Visible recent-item count from 0 to 100

## Other responses

- `400` — Bad Request - Invalid parameters or malformed request
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - User lacks permission to access this resource
- `404` — Not Found - Resource does not exist
- `422` — Unprocessable Entity - Invalid request parameters or validation errors
- `429` — Too Many Requests - Rate limit exceeded
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/rhythms/apis/rhythms-params-in-body.md) · [All operations](https://skmtc.net/rhythms/apis/rhythms-params-in-body/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rhythms/rhythms-params-in-body/revisions/a67e54becfe9/schema)
