Knowledge

Delete a knowledge base

DELETE
/api/v1/knowledge/bases/{kb_id}

Forgets the base: its index, documents and snapshots. Its Vault folder and files stay.

More in Knowledge API.

apiKey
headerAuthorizationBearer <token>

An API key, sk-syn- and 32 characters. On SynapseOrch Cloud an owner or admin makes it under Settings → Developer; on a self-hosted install, under Settings → API Keys.

kb_id*string

Response Body

Successful Response

application/json
  1. response
status?string
Default"deleting"
curl -X DELETE "https://api.synapseorch.com/api/v1/knowledge/bases/kb_01a10d3f5a7c9e1b3d5f7a9c1e3b5d7f" \  -H "Authorization: Bearer sk-syn-..."
{  "status": "deleting"}