---
title: "Patch session configs"
method: PATCH
path: "/session/{session_id}/configs"
tags: ["session"]
---

# Patch session configs

`PATCH /session/{session_id}/configs`

Update session configs using patch semantics. Only updates keys present in the request. Pass null as value to delete a key. Returns the complete configs after patch.

## Path parameters

- `session_id` string, uuid, required

## Request body

- HandlerPatchSessionConfigsReq
  - `configs` object, required

## Response `200`

OK

- object
  - `code` integer
  - `error` string
  - `msg` string
  - `data` HandlerPatchSessionConfigsResp
    - `configs` object

## Other responses

- `400` — Invalid request
- `404` — Session not found

## Changes

- **2026-02-04** `f03c3883a3c7` — 1 info
  - endpoint added
- **2025-11-12** `a1c1bcb0e2ee` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/memodb-io/apis/acontext-api/changes/session/:session_id/configs/patch.md)

---

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