buckets
table permissions: noneobjects
table permissions: update
and select
The path of the file you want to upload.
The data of the file you want to upload.
Additional options for the upload.
val bucket = supabase.storage.from("avatars")
bucket.update("myIcon.png", byteArray) \{
upsert = false
\}
//on JVM you can use java.io.File
bucket.update("myIcon.png", file) \{
upsert = false
\}