Home

Delete files in a bucket

Deletes files within the same bucket

  • Policy permissions required:
    • buckets permissions: none
    • objects permissions: delete and select

final List<FileObject> objec = await supabase
  .storage
  .from('avatars')
  .remove(['avatar1.png']);