---
title: "DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}"
method: DELETE
path: "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}"
---

# DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}

`DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}`

Deletes the content.

## Path parameters

- `contentId` string, required
- `knowledgeBaseId` string, required

## Response `204`

Success

- DeleteContentResponse

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/wisdom.md) · [All operations](https://skmtc.net/aws/apis/wisdom/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/wisdom/versions/4a596e60c7d1/schema)
