---
title: "POST /api/kernel/save_user_config"
method: POST
path: "/api/kernel/save_user_config"
---

# POST /api/kernel/save_user_config

`POST /api/kernel/save_user_config`

## Headers

- `Marimo-Session-Id` string

## Request body

- SaveUserConfigurationRequest
  - `config` object, required

## Response `200`

Update the user config on disk and in the kernel. Only allowed in edit mode.

- SuccessResponse
  - `success` boolean

---

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