---
title: "Remove folder, sheet, doc bundle, memo, or image (cascade), or one sheet row with `row`"
method: POST
path: "/remove"
---

# Remove folder, sheet, doc bundle, memo, or image (cascade), or one sheet row with \`row\`

`POST /remove`

## Request

- Base URL: `https://api.space-ocr.com`
- URL: `https://api.space-ocr.com/remove`
- Auth: HTTP bearer

## Request body

- object
  - `path` string, required: Slash-separated path. Folders are addressed by name. Sheets can be addressed by name (must be unique within the parent folder) or by the uniqueKey returned by /create.
  - `row` union: [Sheets only] Delete one row instead of the sheet. rowKey, 0-based index, or a negative index from the end — the same addressing POST /edit uses. Removes the image and its OCR result. The scan was already performed and billed, so nothing is refunded.
    - integer
    - string

## Response `200`

OK

- unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `413`: Payload Too Large
- `429`: Too Many Requests
- `500`: Internal Error
- `502`: OCR engine error (charge auto-refunded)
- `504`: OCR engine timeout (charge auto-refunded)

---

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