# Bulk Link Deletion Using the API

By
The Quable Team

Here is a script that can be used to delete relations. In this example, we assume that you know the documents and the types of relations. However, the APIs used and the process are the same for other cases, so feel free to adapt it.
This Python script demonstrates how to delete links between documents.
While this example assumes you already know the document IDs and link types, the same APIs and steps can be adapted to other use cases, such as different data sources like JSON, CSV files, or even Google Sheets.

You can find the Python example

Script can be executed this way :

python3 ./delete-links.py MY-INSTANCE MY-TOKEN