Supabase.Storage.remove
You're seeing just the function
remove
, go back to Supabase.Storage module for more information.
Deletes files within the same bucket
Notes
- Policy permissions required:
buckets
permissions: noneobjects
permissions:delete
andselect
Example
Supabase.storage()
|> Supabase.Storage.from("avatars")
|> Supabase.Storage.remove(["public/avatar1", "private/avatar2"])