Delete Graph For Collection

DEL

Delete the graph for a given collection. Note that this endpoint may delete a large amount of data created by the KG pipeline, this deletion is irreversible, and recreating the graph may be an expensive operation.

Notes: The endpoint deletes all communities for a given collection. If the cascade flag is set to true, the endpoint also deletes all the entities and triples associated with the collection.

WARNING: Setting this flag to true will delete entities and triples for documents that are shared across multiple collections. Do not set this flag unless you are absolutely sure that you want to delete the entities and triples for all documents in the collection.

Request

This endpoint expects an object.
collection_idstringRequired

Collection ID to delete graph for.

cascadebooleanOptional

Whether to cascade the deletion, and delete entities and triples belonging to the collection.

Response

Successful Response

Errors