---
title: "Update specific configuration directives"
method: PATCH
path: "/api/config"
tags: ["Configuration"]
---

# Update specific configuration directives

`PATCH /api/config`

Merges the provided key/value pairs into the existing configuration
and restarts the server. Only top-level directives can be patched.
Requires `admin`.

## Request body

- object
  - `config_changes` object, required — Key/value pairs to merge into the existing configuration.

## Response `200`

Configuration patched; restart initiated.

- TaskId
  - `task_id` string, required — Opaque identifier that can be passed to a status endpoint.

## Other responses

- `400` — Bad request.
- `403` — Access denied.

---

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