---
title: "Mcp Update Context Section"
method: PATCH
path: "/v1/mcp/projects/{project_id}/context/sections/{section_id}"
tags: ["mcp"]
---

# Mcp Update Context Section

`PATCH /v1/mcp/projects/{project_id}/context/sections/{section_id}`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/mcp/projects/{project_id}/context/sections/{section_id}`
- Auth: none declared

Edit a section (mcp:*|project:settings:write). Unknown -> 404.

## Path parameters

- `project_id` string, required
- `section_id` string, required

## Request body

- McpSectionPatch
  - `title` string, nullable
  - `type` string, nullable
  - `languages` string[], nullable
  - `body` string, nullable
  - `position` integer, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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