Move an existing file
- Policy permissions required:
buckets
permissions: noneobjects
permissions:update
andselect
const { data, error } = await supabase
.storage
.from('avatars')
.move('public/avatar1.png', 'private/avatar2.png')
buckets
permissions: noneobjects
permissions: update
and select
const { data, error } = await supabase
.storage
.from('avatars')
.move('public/avatar1.png', 'private/avatar2.png')