---
title: "Patch Dashboard Config"
method: PATCH
path: "/api/dashboard/config"
tags: ["Dashboard"]
---

# Patch Dashboard Config

`PATCH /api/dashboard/config`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/dashboard/config`
- Auth: HTTP bearer

Deep-merge a partial config into the stored one (admin only).

The role gate moves from the spoofable X-User-Role header to the
verified token — this also un-breaks theme persistence for sessions
that never had the client-side user_role cookie (e.g. straight from
registration).

## Request body

- DashboardConfigPatch: PATCH body: a partial config to deep-merge into the stored one.
  - `config` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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