---
title: "Remove Course Content"
method: DELETE
path: "/demo-custom-course/{course_id}/content/{content_index}"
tags: ["Demo Custom Course"]
---

# Remove Course Content

`DELETE /demo-custom-course/{course_id}/content/{content_index}`

Remove a single piece of content from ephemeral doc.

## Path parameters

- `course_id` string, required
- `content_index` integer, required

## Query parameters

- `session_id` string, required

## Response `200`

Successful Response

- RoutersDemoCustomCourseCustomCourseResponse
  - `id` string, required
  - `title` string, required
  - `content` RoutersDemoCustomCourseCustomCourseContent[], required
    - `content` string, required
    - `latex_content` string, required
    - `content_type` string, required
    - `order` integer, required
    - `created_at` string, date-time

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-09** `a5af9b3b34f7` — 1 info
  - the `created_at` response's property default value changed from `2026-09-08T11:59:33.526934` to `2026-09-09T16:24:50.028792` for the status `200`
- **2026-09-09** `e75413b9576a` — 1 info
  - the `created_at` response's property default value changed from `2026-09-07T11:14:04.896563` to `2026-09-08T11:59:33.526934` for the status `200`
- **2026-09-07** `0ccba2913cca` — 1 info
  - the `created_at` response's property default value changed from `2026-09-06T16:19:58.347240` to `2026-09-07T11:14:04.896563` for the status `200`
- **2026-09-06** `a8edb782d4d6` — 1 info
  - the `created_at` response's property default value changed from `2026-09-05T11:58:03.027185` to `2026-09-06T16:19:58.347240` for the status `200`
- **2026-09-05** `6608cf59dfaf` — 1 info
  - the `created_at` response's property default value changed from `2026-09-04T14:20:25.447846` to `2026-09-05T11:58:03.027185` for the status `200`

[Full history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/demo-custom-course/:course_id/content/:content_index/delete.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/a5af9b3b34f7?raw)
