JavaScript: Delete files in a bucket

Deletes files within the same bucket

Parameters

Examples

Delete file

const \{ data, error \} = await supabase
  .storage
  .from('avatars')
  .remove(['folder/avatar1.png'])