---
title: "Delete chat history section"
method: DELETE
path: "/api/v0/agent/session-sections/{section_id}"
tags: ["Agent"]
---

# Delete chat history section

`DELETE /api/v0/agent/session-sections/{section_id}`

## Request

- Base URL: `https://api.outerport.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outerport.com/api/v0/agent/session-sections/{section_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/outerport/apis/outerport-api/docs/api/v0/agent/session-sections/:section_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete one of the user's chat history sections. Its sessions are kept and filed under no section.

## Path parameters

- `section_id` string, uuid, required

## Response `200`

Successful Response

- AgentSessionSectionDeleteResponse: Response for deleting a chat history section.
  - `message` string, required: The deletion confirmation message.
  - `section_id` string, uuid, required: The ID of the deleted section.

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-11** `f9dcfeb78d3d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outerport/apis/outerport-api/changes/api/v0/agent/session-sections/:section_id/delete.md)

---

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