---
title: "Soft Delete Pages"
method: PUT
path: "/copy-correction/{session_id}/soft-delete-pages"
tags: ["Copy Correction"]
---

# Soft Delete Pages

`PUT /copy-correction/{session_id}/soft-delete-pages`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/copy-correction/{session_id}/soft-delete-pages`
- Auth: OAuth 2
  - Password
  - Token URL: `api/login`
- TypeScript: <https://skmtc.dev/excellence-ai/apis/excellence-learning/docs/copy-correction/:session_id/soft-delete-pages/put.ts> (a function with typed inputs; its response is checked against the schema)

Delete several pages of the stack at once, as `soft-delete-page` does
for one: the teacher selects the uploads to drop and deletes them in one
go instead of one by one (EXC-1896). All or nothing: one write.

## Path parameters

- `session_id` string, required

## Request body

- SoftDeletePagesBody
  - `page_indices` integer[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `409`: COPY_CORRECTION_CHANGED: the copies changed under the request (a publication, a copy added or removed) every time it retried; nothing was written
- `422`: Validation Error

## Changes

> 90 revisions in range; 1 not diffed.

- **2026-11-07** `de94c586d9fb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/copy-correction/:session_id/soft-delete-pages/put.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/14cb20bca652?raw)
