Delete a webhook endpoint

DELETE /api/v1/webhook_endpoints/{webhook_endpoint_id}

Deletes the specified webhook endpoint.

Path parameters

Responses

  • 200 application/json

    Returns a success message if a valid webhook endpoint ID was provided. Returns an error otherwise.

    Hide response attributes Show response attributes object
DELETE /api/v1/webhook_endpoints/{webhook_endpoint_id}
curl \
 -X DELETE https://api.1099policy.com/api/v1/webhook_endpoints/{webhook_endpoint_id}
Response examples (200)
{
  "deleted": true,
  "deleted_at": "(utcnow)",
  "id": "whe_KPGc5vEZdvoETu39BNwu2Z",
  "object": "webhook_endpoint"
}