Delete Files

This page shows you how to delete a file from your Catalog.

WARNING

Please note that once a file is deleted, it cannot be recovered. All related Catalog entries (such as chunks, embeddings, etc.) will also be deleted.

#Delete a File via API

cURL
Python

export INSTILL_API_TOKEN=********
curl -X DELETE 'https://api.instill.tech/v1alpha/catalogs/files?fileUid={fileUid}' \
--header "Authorization: Bearer $INSTILL_API_TOKEN"

Note that the {namespaceId} path parameter must be replaced by the Catalog owner's ID (namespace), and the {fileUid} query parameter must be replaced by the unique identifier (UID) of the file to be deleted.

#Delete a File via 📺 Instill Console

To delete a file from 📺 Instill Console, follow these steps:

  1. Launch 📺 Instill Console on ☁️ Instill Cloud or via a local 🔮 Instill Core deployment at http://localhost:3000.
  2. Navigate to the Artifacts page using the navigation bar.
  3. Click the Catalog card you wish to delete a file from.
  4. Select Files in the left panel.
  5. Click the Delete button next to the file you wish to delete.