Fill in the parameters and request body fields on this page to change this example.
curl CLI Python Node.js Ruby PHP
Example request Copy curl --request DELETE \
--url 'https://a.klaviyo.com/api/webhooks/id' \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'revision: 2026-10-15' Python SDK Copy from klaviyo_api import KlaviyoAPI
klaviyo = KlaviyoAPI ( "your-private-api-key" )
response = klaviyo. Webhooks. delete_webhook ( "id" ) Install it with pip install klaviyo-api. The Python SDK on GitHub
Node.js SDK Copy import { ApiKeySession, WebhooksApi } from 'klaviyo-api'
const session = new ApiKeySession ('your-private-api-key' )
const webhooksApi = new WebhooksApi (session)
const response = await webhooksApi .deleteWebhook ('id' )Install it with npm install klaviyo-api. The Node.js SDK on GitHub
Ruby SDK Copy require 'klaviyo-api-sdk'
KlaviyoAPI . configure do | config|
config. api_key ['Klaviyo-API-Key' ] = 'Klaviyo-API-Key your-private-api-key'
end
response = KlaviyoAPI :: Webhooks . delete_webhook ('id' )Install it with gem install klaviyo-api-sdk. The Ruby SDK on GitHub
PHP SDK Copy <? php
require_once (__DIR__ . '/vendor/autoload.php' );
use KlaviyoAPI \ KlaviyoAPI ;
$klaviyo = new KlaviyoAPI ( 'your-private-api-key' ) ;
$response = $klaviyo-> Webhooks-> deleteWebhook ( 'id' ) ;Install it with composer require klaviyo/api. The PHP SDK on GitHub