JavaScript: List all buckets

Retrieves the details of all Storage buckets within an existing project.

Examples

List buckets

const \{ data, error \} = await supabase
  .storage
  .listBuckets()