---
title: "delete (singular)"
method: DELETE
path: "/v1/ingest/document/{documentId}"
tags: ["Documents"]
---

# delete (singular)

`DELETE /v1/ingest/document/{documentId}`

Delete a single document 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.

## Path parameters

- `documentId` string, uuid, required

## Response `200`

Document successfully 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-12-05** `03c394f90d6b` — 1 info
  - api operation id `Document_delete` removed and replaced with `Document_delete1`
- **2023-11-29** `bf7061385e18` — 1 breaking, 1 warning, 1 info
  - for the `path` request parameter `documentId`, the format changed from no format to `uuid`
  - removed the optional property `message` from the response with the `200` status
  - added the required property `ingest` to the response with the `200` status
- **2023-10-05** `5ee59ea914aa` — 2 info
  - api tag `Documents` added
  - api tag `Document` removed
- **2023-10-04** `7d474e21a108` — 2 info
  - api operation id `Document_delete` was added
  - api tag `Document` added
- **2023-10-04** `79c42de78d2f` — 1 breaking, 4 info
  - removed the required property `ingest` from the response with the `200` status
  - api operation id `Document_delete1` removed and replaced with ``
  - api tag `Documents` removed
  - for the `path` request parameter `documentId`, the format was generalized from `uuid` to no format
  - …1 more

[Change history](https://skmtc.dev/groundxai/apis/groundx-apis/changes/v1/ingest/document/:documentId/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)
