Supabase.Storage.move
You're seeing just the function
move
, go back to Supabase.Storage module for more information.
Moves an existing file, optionally renaming it at the same time.
Notes
- Policy permissions required:
buckets
permissions: noneobjects
permissions:update
andselect
Example
Supabase.storage()
|> Supabase.Storage.from("avatars")
|> Supabase.Storage.move("public/avatar1.png", "private/avatar2.png")