curl --request POST \
--url https://api.dnsradar.dev/webhooks/{webhook_id}/disable \
--header 'X-Api-Key: <api-key>'{
"id": "whk_abc123...",
"created": "2023-11-07T05:31:56Z",
"url": "https://api.server.com/webhook/dnsradar",
"method": "POST",
"headers": {
"Authorization": "Bearer abc123token",
"X-Custom-Header": "value"
},
"secret": "Ultra Secure P@ssw0rd!",
"is_active": true,
"last_error": "Timeout connecting to endpoint",
"last_executed": "2023-11-07T05:31:56Z"
}Disable a webhook to stop receiving notifications.
curl --request POST \
--url https://api.dnsradar.dev/webhooks/{webhook_id}/disable \
--header 'X-Api-Key: <api-key>'{
"id": "whk_abc123...",
"created": "2023-11-07T05:31:56Z",
"url": "https://api.server.com/webhook/dnsradar",
"method": "POST",
"headers": {
"Authorization": "Bearer abc123token",
"X-Custom-Header": "value"
},
"secret": "Ultra Secure P@ssw0rd!",
"is_active": true,
"last_error": "Timeout connecting to endpoint",
"last_executed": "2023-11-07T05:31:56Z"
}API key used to authenticate yourself on DNSRadar. Obtain your API key from your DNSRadar dashboard.
Webhook disabled
Webhook configuration for event notifications
Webhook identifier with 'whk_' prefix
"whk_abc123..."
Webhook creation datetime in ISO 8601 format
Webhook endpoint URL
"https://api.server.com/webhook/dnsradar"
HTTP method to use for the webhook
POST, PUT, DELETE, PATCH Custom HTTP headers as key-value pairs
Show child attributes
{
"Authorization": "Bearer abc123token",
"X-Custom-Header": "value"
}Secret key used for HMAC-SHA256 signing of webhook requests. The signature is sent in the X-Webhook-Signature header.
"Ultra Secure P@ssw0rd!"
Whether webhook is active
Last error message if any
"Timeout connecting to endpoint"
Datetime of last execution in ISO 8601 format