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.
Deletes an existing bucket. A bucket can't be deleted with existing objects inside it. You must first empty() the bucket.
The unique identifier of the bucket you would like to delete.
const { data, error } = await supabase
.storage
.deleteBucket('avatars')