---
title: "Update runtime configuration"
method: PATCH
path: "/config"
tags: ["Config"]
---

# Update runtime configuration

`PATCH /config`

Only runtime-adjustable fields. Fields requiring restart are flagged in `meta.restart_required`.

## Request body

- ConfigPatch
  - `retention` string
  - `max_query_memory_mb` integer
  - `listen` string — Requires restart
  - `auth_enabled` boolean
  - `otlp_enabled` boolean
  - `syslog_enabled` boolean

## Response `200`

Updated config

---

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