v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1475719557.8 KB

Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DisassociateAgentKnowledgeBase.html">DisassociateAgentKnowledgeBase</a> request.

delete/knowledgebases/{knowledgeBaseId}

Path parameters

knowledgeBaseIdstring required

The unique identifier of the knowledge base to delete.

Response

Success

knowledgeBaseIdstring required

The unique identifier of the knowledge base that was deleted.

status'CREATING' | 'ACTIVE' | 'DELETING' | 'UPDATING' | 'FAILED' | 'DELETE_UNSUCCESSFUL' | 'UPDATE_UNSUCCESSFUL' required

The status of the knowledge base and whether it has been successfully deleted.