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: none
    • objects permissions: delete and select

Example

Supabase.storage()
|> Supabase.Storage.from("avatars")
|> Supabase.Storage.remove(["public/avatar1", "private/avatar2"])