Skip to main content
DELETE
https://api.trillet.ai
/
v1
/
api
/
knowledgebase
/
{id}
Delete Knowledge Base
curl --request DELETE \
  --url https://api.trillet.ai/v1/api/knowledgebase/{id} \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "success": true,
  "message": "Knowledge base deleted successfully"
}

Headers

x-api-key
string
required
API key used for authenticating requests to the API.
x-workspace-id
string
required
Workspace identifier for the API.

Path Parameters

id
string
required
The unique identifier of the knowledge base to delete.

Response Fields

success
boolean
Whether the deletion was successful.
message
string
Confirmation message.
{
  "success": true,
  "message": "Knowledge base deleted successfully"
}