Supabase.Storage.update
You're seeing just the function
update
, go back to Supabase.Storage module for more information.
Replaces an existing file at the specified path with a new one.
Notes
- Policy permissions required:
buckets
permissions: noneobjects
permissions:update
andselect
Example
Supabase.storage()
|> Supabase.Storage.from("avatars")
|> Supabase.Storage.update("public/avatar1.png", "/my/avatar/file.png")
Options
HTTP headers, for example :cache_control