Prepare for the PgBouncer and IPv4 deprecations on 26th January 2024

Javascript Reference v2.0

List all buckets

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

  • RLS policy permissions required:
    • buckets table permissions: select
    • objects table permissions: none
  • Refer to the Storage guide on how access control works

const { data, error } = await supabase