---
title: "Delete Ingested Document"
method: POST
path: "/v1/artifacts/delete"
tags: ["artifacts"]
---

# Delete Ingested Document

`POST /v1/artifacts/delete`

Remove a specific document and all its associated data from the system

## Request body

- DeleteIngestedDocumentBody — Request body for deleting specific ingested documents from the system.
  - `collection` string, required — Name of the collection containing the document to be deleted
  - `artifact` string, required — Unique identifier of the document to delete from the specified collection

## Response `200`

Document successfully deleted

- ArtifactsDeleteIngestedV1ArtifactsDeletePostResponse200 — Empty response body

## Other responses

- `401` — Unauthorized
- `422` — Validation Error

---

[API](https://skmtc.dev/privategpt/apis/api-reference.md) · [All operations](https://skmtc.dev/privategpt/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/privategpt/api-reference/revisions/15d9ccfd68da/schema)
