---
title: "Update User Memory Sections"
method: PUT
path: "/api/memory/user/sections"
tags: ["memory"]
---

# Update User Memory Sections

`PUT /api/memory/user/sections`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/memory/user/sections`
- Auth: none declared

Edit individual user-owned memory sections (Preferences / Roles).

The server rebuilds the document from its fixed sections, so user input can
never break the `## ` structure. Agent-maintained sections (Recent
subjects) are preserved untouched; the agent may still revise any section.

## Cookies

- `session` string, nullable

## Request body

- SectionsUpdate
  - `sections` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
