Comment on page
Delete a webhook
delete
https://api.complycube.com
/v1/webooks/:id
Delete a webhook
Delete an existing a webhook
Parameters
Path
id*
string
The ID of the webhook.
Header
Authorization*
string
The live or sandbox API key.
Responses
204
Webhook successfully deleted.
cURL
Node.js
Python
PHP
.NET
curl -X DELETE https://api.complycube.com/v1/webhooks/{:webhookId} \
-H 'Authorization: <YOUR_API_KEY>'
const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
await complycube.webhook.delete("WEBHOOK_ID")
from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')
cc_api.webhooks.delete('WEBHOOK_ID')
use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
$ccapi->webhooks()->delete('WEBHOOK_ID');
using ComplyCube.Net;
using ComplyCube.Net.Resources.Webhooks;
var webhookApi = new WebhookApi(new ComplyCubeClient("<YOUR_API_KEY>"));
await webhookApi.DeleteAsync("WEBHOOK_ID");
Last modified 11mo ago