Delete documents from index
DELETE/content-assistance/index
Removes one or more documents from the specified knowledge base index type. The documents are identified by their URLs.
- If only
urlsis provided, the documents are fully removed from the index for all scopes. - To remove documents only for specific entities, additionally provide
scopeIds(concept IDs for CATEGORY type, or product IDs for PRODUCT type) orbreadcrumbs(category path strings for CATEGORY type). This leaves the document indexed for other scopes it was associated with.
This operation is asynchronous and returns a task that can be monitored via the Tasks endpoint.
Request
Responses
- 200
- 400
- 401
- 404
OK — deletion task started
Bad request — invalid type or missing URLs
Unauthorized — invalid or missing API key
Project not found