appwrite/docs/examples/1.7.x/server-php/examples/functions/update.md
2025-05-18 02:28:12 +12:00

1 KiB

setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key $functions = new Functions($client); $result = $functions->update( functionId: '', name: '', runtime: ::NODE145(), // optional execute: ["any"], // optional events: [], // optional schedule: '', // optional timeout: 1, // optional enabled: false, // optional logging: false, // optional entrypoint: '', // optional commands: '', // optional scopes: [], // optional installationId: '', // optional providerRepositoryId: '', // optional providerBranch: '', // optional providerSilentMode: false, // optional providerRootDirectory: '', // optional specification: '' // optional );