---
title: "Update Reporting Preferences"
method: PUT
path: "/api/v1/dashboards/reporting-preferences"
tags: ["dashboards"]
---

# Update Reporting Preferences

`PUT /api/v1/dashboards/reporting-preferences`

Full-replace the current user's reporting prefs.

## Request body

- ReportingPreferencesUpdate
  - `last_viewed` object

## Response `200`

Successful Response

- ReportingPreferencesRead — Per-user reporting preferences (stored on User.reporting_preferences). ``last_viewed`` maps a category (section) id → the dashboard id the user last viewed there, both as strings. Dumb storage: stale ids are tolerated and resolved away on the client, so no existence validation happens here.
  - `last_viewed` object

## Other responses

- `401` — Authentication required
- `422` — Validation Error
- `500` — User not found

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/c0f54348e251/schema)
