---
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

---

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