Skip to main content
DELETE
Delete data sources

Authorizations

Authorization
string
header
required

All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.

Path Parameters

knowledge_base_id
string
required

The ID of the knowledge base to delete the data sources from.

Body

application/json

The data sources to delete.

data_sources
integer[]
required

The IDs of the data sources to delete. Each is the id you got back when the data source was added.

Response

The data sources were deleted. Returns ok set to true.

ok
boolean
required

true when the request worked. Errors return false.

Example:

true

Last modified on October 23, 2026