For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

JavaScript: deleteBucket

Deletes a vector bucket (bucket must be empty) All indexes must be deleted before deleting the bucket

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

Parameters

Examples

Delete a vector bucket

const { data, error } = await supabase
  .storage
  .vectors
  .deleteBucket('embeddings-old')