Python: Copy an existing file

Copies an existing file to a new path in the same bucket.

Parameters

Examples

Copy file

response = supabase.storage.from_("avatars").copy(
  "public/avatar1.png", "private/avatar2.png"
)