Skip to main content
DELETE
/
knowledgebase
/
{id}
Delete Knowledge Base
curl --request DELETE \
  --url https://api.trugen.ai/v1/knowledgebase/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "ff152cd9-efb6-4367-a545-b861c9fbd3d0",
  "message": "Knowledge base deleted successfully"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

UUID of the Knowledge Base to delete

Example:

"ff152cd9-efb6-4367-a545-b861c9fbd3d0"

Response

Knowledge Base deleted successfully

id
string<uuid>

UUID of the deleted Knowledge Base.

Example:

"ff152cd9-efb6-4367-a545-b861c9fbd3d0"

message
string
Example:

"Knowledge base deleted successfully"