JavaScript: Retrieve a bucket

Retrieves the details of an existing Storage bucket.

Parameters

Examples

Get bucket

const \{ data, error \} = await supabase
  .storage
  .getBucket('avatars')