Delete a webhook
DELETEhttps://api.port.io/v1/webhooks/:identifier
This route allows you to delete a webhook in your Port organization. You can also delete it via the data sources page of your Port account.
To learn more about webhooks, check out the documentation.
Request
Path Parameters
identifier stringrequired
The identifier of the webhook you want to delete.
Responses
- 200
Default Response
Authorization: Authorization
name: Authorizationtype: apiKeyscopes: delete:integrations
in: header
- 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.port.io/v1/webhooks/:identifier");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear