---
title: "Batch Update Config"
method: POST
path: "/api/v1/config/batch"
tags: ["config"]
---

# Batch Update Config

`POST /api/v1/config/batch`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/config/batch`
- Auth: none declared

Refuse to batch update configuration values (Issue #1580).

Admin-only endpoint. The whole request is refused — there are no partial
writes. See ``update_config``.

Args:
    request: Rejected key-value pairs
    admin: Authenticated admin user

Raises:
    ConfigReadOnlyError: Always (409 ``CFG-002``)

## Request body

- ConfigBatchRequest: Batch update configuration.
  - `updates` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `409`: Always: configuration is read-only (`CFG-002`). Values are set via environment variables and applied on restart/redeploy.
- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
