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

---

[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/c8775333b1ed/schema)
