Delete a webhook endpoint
DELETE/v1/webhook_endpoints/{endpoint}
Removes an endpoint. Its queued events are dropped, its signing secrets are retired, and its URL becomes free to register again. The response is the endpoint as it was left.
Delete a webhook endpoint
curl https://whatsapp.messages.api.linqapp.com/v1/webhook_endpoints/$ENDPOINT \
-X DELETE \
-H "Authorization: Bearer $LINQ_WHATSAPP_API_KEY"{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"disabled_at": "2019-12-27T18:11:19.117Z",
"event_kinds": [
"string"
],
"health": {
"consecutive_failures": 0,
"last_failure_at": "2019-12-27T18:11:19.117Z",
"last_failure_reason": "last_failure_reason",
"last_failure_status": 0,
"last_success_at": "2019-12-27T18:11:19.117Z"
},
"status": "status",
"updated_at": "2019-12-27T18:11:19.117Z",
"url": "url",
"backlog_dropped": 0,
"backlog_resume_cursor": "backlog_resume_cursor",
"description": "description"
}Returns Examples
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"disabled_at": "2019-12-27T18:11:19.117Z",
"event_kinds": [
"string"
],
"health": {
"consecutive_failures": 0,
"last_failure_at": "2019-12-27T18:11:19.117Z",
"last_failure_reason": "last_failure_reason",
"last_failure_status": 0,
"last_success_at": "2019-12-27T18:11:19.117Z"
},
"status": "status",
"updated_at": "2019-12-27T18:11:19.117Z",
"url": "url",
"backlog_dropped": 0,
"backlog_resume_cursor": "backlog_resume_cursor",
"description": "description"
}