JavaScript: deleteIndex | Supabase Docs

JavaScript: deleteIndex

Deletes an index from this bucket Convenience method that automatically includes the bucket name

Public alpha: This API is part of a public alpha release and may not be available to your account type.

Parameters

  • indexName

    (Required)

    Name of the index to delete

Examples

Delete an index

const bucket = supabase.storage.vectors.from('embeddings-prod')
await bucket.deleteIndex('old-index')