**版本：202601**

# 从页面移除卡片

**DELETE** `/openapi/2026-01/themes/edit-sessions/:oseid/sections/:section_id`

在编辑会话中，从页面移除某张卡片。

## 请求

**Path参数**

- `oseid` string (required)

  编辑会话 ID
- `section_id` string (required)

  要删除的 section 实例 ID。页面流模式（不传 `area`）必须是 `content_for_page` 里的数字实例 ID；传了 `area` 时，传该区域成员的存储 id

**application/json**

**请求体 | 示例**

**请求体 (required)**

- `doc_id` string (required)

  文档（模板文件）ID
- `area` string

  目标区域：不传 = 页面流；`header`、`footer` = 从页头 / 页尾区域组删除（仅支持区域组的主题）

```json
{
  "doc_id": "string",
  "area": "string"
}
```

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `content_for_page` int64[]

    删除后的页面 section 顺序。使用 `area` 删除时为空 —— 区域成员不在 `content_for_page` 中

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "content_for_page": [
      0
    ]
  }
}
```
