appwrite/docs/examples/1.6.x/server-php/examples/storage/update-file.md
2025-04-24 14:46:03 +00:00

485 B

setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); $result = $storage->updateFile( bucketId: '', fileId: '', name: '', // optional permissions: ["read("any")"] // optional );