appwrite/docs/examples/1.5.x/console-web/examples/proxy/update-rule-verification.md
2024-02-25 00:34:42 +13:00

345 B

import { Client, Proxy } from "@appwrite.io/console";

const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID

const proxy = new Proxy(client);

const result = await proxy.updateRuleVerification( '<RULE_ID>' // ruleId );

console.log(response);