---
title: "Update display configuration"
method: PATCH
path: "/display"
---

# Update display configuration

`PATCH /display`

## Request body

- PatchDisplayRequest
  - `width` integer — Display width in pixels
  - `height` integer — Display height in pixels
  - `refresh_rate` 60 | 30 | 25 | 10 — Display refresh rate in Hz. If omitted, uses the highest available rate for the resolution.
  - `require_idle` boolean — If true, refuse to resize when live view or recording/replay is active.
  - `restart_chromium` boolean — If true, restart Chromium after resolution change to ensure it adapts to new size. Default is false for headful, true for headless.

## Response `200`

Updated display configuration

- DisplayConfig
  - `width` integer — Current display width in pixels
  - `height` integer — Current display height in pixels
  - `refresh_rate` integer — Current display refresh rate in Hz (may be null if not detectable)

## Other responses

- `400` — Bad Request
- `409` — Conflict
- `500` — Internal Server Error

## Changes

> 52 revisions in range; 4 could not be searched.

- **2025-10-10** `3cb3697795bf` — 1 info
  - endpoint added
- **2025-06-27** `f980a92ab23f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kernel/apis/kernel-images-api/changes/display/patch.md)

---

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