Delete Webhook
Remove a registered webhook using the DoubleTick API to stop receiving unnecessary event notifications and keep your system optimized. π
API Endpoint
Use the following endpoint to delete a webhook:
DELETE https://public.doubletick.io/v2/webhook/deregister
Request Headers
{
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json"
}
Request Body Parameters
{
"webhookId": "webhook_id"
}
Parameters
webhookId
(string, required): The unique ID of the webhook to be deleted.
Response
Success Response (201)
{}
Bad Request (400)
{
"message": "error_message",
"error": "Bad Request",
"statusCode": 400
}
Unauthorized (401)
{
"message": "Invalid public api key",
"error": "Unauthorized",
"statusCode": 401
}
Unprocessable Entity (422)
{
"message": "invalid file type for audio: text/html; charset=utf-8",
"error": "Unprocessable Entity",
"statusCode": 422
}
Best Practices
- Verify that the webhook ID exists before making a delete request.
- Ensure that no critical dependencies rely on the webhook before removing it.
- Use this API to clean up outdated webhooks for optimized performance.
Updated about 1 month ago
Whatβs Next
Explore more message types and enhance your WhatsApp communication with DoubleTick API