---
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.
  - `skipped` string[] — Runtime setting keys that were accepted in the request but not persisted (e.g. masked secret round-trips).
  - `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.

---

[API](https://skmtc.net/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.net/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/versions/62e8c152aa18/schema)
