Skip to main content
DELETE /indexes/{index_id} Permanently deletes an index and all vectors contained within it. An index with delete protection enabled cannot be deleted.

Example Requests

  • cURL
  • Python SDK
  • JavaScript SDK
curl --location --request DELETE 'https://api.gravixlayer.com/v1/vectors/indexes/11c6ec39-5c0e-411e-b3e4-faf8113d1396' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'

Response

A confirmation message indicating the successful deletion.
{
  "index_id": "11c6ec39-5c0e-411e-b3e4-faf8113d1396",
  "message": "Index, associated vectors, and collection permanently deleted successfully"
}
I