---
title: "Delete Document Org"
method: DELETE
path: "/api/v1/ai/organization/knowledge/documents/{document_id}"
tags: ["Knowledge"]
---

# Delete Document Org

`DELETE /api/v1/ai/organization/knowledge/documents/{document_id}`

## Request

- Base URL: `https://www.gooddata.ai`
- URL: `https://www.gooddata.ai/api/v1/ai/organization/knowledge/documents/{document_id}`
- Auth: none declared

Delete an org-scoped knowledge document and all its chunks.

## Path parameters

- `document_id` string, required

## Response `200`

Successful Response

- DeleteDocumentResponse: Response for DELETE /documents/{documentId}.
  - `message` string, required
  - `success` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/revisions/c728ef303bfb?raw)
