Delete Webhook
DELETEhttps://api.lochting.com/public/v1/webhook/:webhookId
This endpoint enables authorized users to delete a webhook by a given webhook id.
Request
Path Parameters
webhookId stringrequired
The id of the webhook.
Example: webhook-c7d932c1-84e8-410c-a9b2-18bf739d6b8b
Header Parameters
Authorization stringrequired
Example: your-access-token
Responses
- 200
- 400
- 401
OK
Bad Request. Invalid webhook.
Unauthorized
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.lochting.com/public/v1/webhook/:webhookId");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear