---
title: "Remove Document Source Folders"
method: POST
path: "/v1/document-sources/remove-folders"
tags: ["document-sources"]
---

# Remove Document Source Folders

`POST /v1/document-sources/remove-folders`

## Request

- Base URL: `https://api.opero.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.opero.pro/v1/document-sources/remove-folders`
- Auth: none declared

Start deleting the documents of config.removing_folders. This can take
longer than the nginx timeout, so the result shows on the source row.

## Request body

- PurgeRequest
  - `source_id` string, required

## Response `202`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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