TypeScript
import { PeriskopeApi } from '@periskope/periskope-client'; const client = new PeriskopeApi({ authToken: 'YOUR_API_KEY', phone: 'YOUR_PHONE_NUMBER', // e.g., '919876543210' }); async function deleteWebhook() { const response = await client.webhooks.delete({ id: 'webhook-id-123' }); console.log(response); } deleteWebhook();
{}
This endpoint deletes a webhook by its ID
Documentation IndexFetch the complete documentation index at: https://docs.periskope.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.periskope.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the webhook subscription
204 No Content
Was this page helpful?