---
title: "delete (multiple)"
method: DELETE
path: "/v1/ingest/documents"
tags: ["Documents"]
---

# delete (multiple)

`DELETE /v1/ingest/documents`

Delete multiple documents hosted on GroundX

Interact with the "Request Body" below to explore the arguments of this function. Enter your GroundX API key to send a request directly from this web page. Select your language of choice to structure a code snippet based on your specified arguments.

## Query parameters

- `documentIds` string[], required

## Response `200`

Documents are queued to be deleted

- IngestResponse
  - `ingest` object, required
    - `processId` string, uuid, required
    - `status` 'queued' | 'processing' | 'error' | 'complete' | 'cancelled', required

## Other responses

- `400` — Invalid document ID
- `401` — Unauthorized to delete document with given ID

## Changes

- **2023-11-29** `3bb565058636` — 2 breaking
  - added the new required `query` request parameter `documentIds`
  - removed the request body
- **2023-11-29** `bf7061385e18` — 1 info
  - endpoint added
- **2023-10-04** `79c42de78d2f` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/groundxai/apis/groundx-apis/changes/v1/ingest/documents/delete.md)

---

[API](https://skmtc.dev/groundxai/apis/groundx-apis.md) · [All operations](https://skmtc.dev/groundxai/apis/groundx-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/groundxai/groundx-apis/revisions/1c1a5c17f52f/schema)
