Delete trained pages
Removes trained website pages from a knowledge base so the AI no longer references them. WHEN TO USE: use this when you need to drop specific or all trained URLs; use trainDiscoveredUrls to add pages; use getAllWebsiteUrlsDataByKnowledgeBase to list what is trained. RETURNS: whether the delete succeeded.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
knowledge-bases. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version
v3v3Body
Location ID as string
qIyivCmsuEOSnyoFYEejKnowledge base ID as string (optional)
I1rITlYLJofFosIqC4NpList of URL ids
["689268c7a64d801ef7bb44aa"]delete all flag
falseURL IDs to exclude from a deleteAll operation (select-all-minus-some flow)
["689268c7a64d801ef7bb44aa"]Substring filter (case-insensitive) matched against url or title to scope deleteAll to filtered rows only. Mirrors the search semantics of the list endpoint.
blogResponse
Selected pages deleted successfully
Indicates if the operation was successful
trueNumber of URLs deleted
2Success message
URLs deleted successfully