---
title: "Patch Runtime Settings"
method: PATCH
path: "/api/v1/runtime/settings"
tags: ["runtime"]
---

# Patch Runtime Settings

`PATCH /api/v1/runtime/settings`

Persist allowed runtime setting changes and hot-apply them in-process.

## Request body

- RuntimeSettingsUpdateRequest — Patch body for runtime setting updates.
  - `updates` object — Mapping of allowlisted runtime setting keys to their new values.

## Response `200`

Successful Response

- RuntimeSettingsUpdateResponse — Result payload after runtime settings are persisted and hot-applied.
  - `updated` string[] — Runtime setting keys that were successfully updated.
  - `env_path` string, required — Filesystem path to the environment file that was updated.

## Other responses

- `400` — The supplied runtime setting values failed validation.
- `401` — Authentication is required or the provided token is invalid.
- `403` — Runtime settings can only be updated when APP_ENV=local.
- `422` — Validation Error
- `503` — Runtime services are unavailable because server startup is incomplete.

## Changes

- **2026-05-23** `6178f925cdec` — 1 breaking, 3 info
  - the `detail` response's property type/format changed from `array`/`` to ``/`` for status `422`
  - added `subschema #1, subschema #2` to the `detail` response property `anyOf` list for the response status `422`
  - added the required property `code` to the response with the `422` status
  - added the required property `message` to the response with the `422` status
- **2026-03-31** `a88715bea2c5` — 1 info
  - the endpoint scheme security `HTTPBearer` was added to the API
- **2026-03-25** `bc0d4fcb5906` — 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `503`
- **2026-03-19** `78507b29ed8f` — 3 breaking, 1 warning, 6 info
  - the `detail` response's property type/format changed from ``/`` to `array`/`` for status `422`
  - removed the required property `code` from the response with the `422` status
  - removed the required property `message` from the response with the `422` status
  - removed the optional property `skipped` from the response with the `200` status
  - …6 more

[Change history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/api/v1/runtime/settings/patch.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/revisions/6178f925cdec/schema)
