cURL
curl --request DELETE \ --url https://api.xpander.ai/v1/knowledge/{kb_id} \ --header 'x-api-key: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Deletes knowledge base by ID
204 No Content
202 Accepted
curl -X DELETE -H "x-api-key: YOUR_API_KEY" \ https://api.xpander.ai/v1/knowledge/4be18afd-ccbd-4092-8686-75e9df2a1bec
HTTP/1.1 202 Accepted Content-Type: application/json null
API Key for authentication
Successful Response
Was this page helpful?