Skip to main content
DELETE
/
api
/
v1
/
beta
/
private_indexes
/
{id}
/
files
/
{file_id}
cURL
curl --request DELETE \
  --url https://trytako.com/api/api/v1/beta/private_indexes/{id}/files/{file_id}/

Notes

  • To authenticate, you’ll need a Tako API key. It’s best practice to store it as an environment variable to avoid hardcoding sensitive credentials in your code.
  • This endpoint removes a specific file from a private index by its file ID.
  • Removing a file will delete it from the private index, making it no longer searchable or accessible through that index.
  • Returns a 204 status code on successful deletion.
  • Returns a 404 error if either the private index or the file is not found.

Path Parameters

file_id
string
required
id
string
required

Response

File removed from private index successfully