Files
appwrite/docs/examples/1.7.x/console-web/examples/projects/delete-webhook.md
T

398 B

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

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

const projects = new Projects(client);

const result = await projects.deleteWebhook( '<PROJECT_ID>', // projectId '<WEBHOOK_ID>' // webhookId );

console.log(result);