---
title: "Applies the 'fields' array of the envelope to application.yml. Restart required to apply."
method: PATCH
path: "/application-config"
tags: ["Application Config"]
---

# Applies the 'fields' array of the envelope to application.yml. Restart required to apply.

`PATCH /application-config`

Accepts the same envelope shape returned by GET: { fields, comments }. Nodes are matched by 'path' — values are edited, new keys added, and nodes with status 'inactive' are commented out. 'comments' is read-only and ignored on write; comments on disk are preserved automatically.

## Request body

- JsonNode

## Response `200`

Configuration successfully patched

- ApplicationConfigPatchResponse
  - `status` string
  - `restartRequired` boolean
  - `message` string

## Other responses

- `400` — Malformed JSON payload or missing 'data' field
- `403` — Caller is not an admin
- `500` — Failed to write application.yml
- `502` — Bad Gateway

## Changes

> 3 revisions in range; 1 not diffed.

- **2026-07-30** `82ed767ffb65` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/opencelium/apis/opencelium-api/changes/application-config/patch.md)

---

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