1
0
Fork 0
mirror of synced 2024-09-18 10:29:47 +12:00
appwrite/app/sdks/client-swift/docs/examples/storage/update-file.md
2020-08-30 19:23:15 +03:00

373 B

/// Swift Appwrite SDK /// Produced by Appwrite SDK Generator ///

var client: Client = Client()

client .setEndpoint(endpoint: "https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint .setProject(value: "5df5acd0d48c2") // Your project ID

var storage: Storage = Storage(client: client);

var result = storage.updateFile(_fileId: "[FILE_ID]", _read: [], _write: []);