> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api-docs.zippd.com/llms.txt.
> For full documentation content, see https://api-docs.zippd.com/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api-docs.zippd.com/_mcp/server.

# Delete a Webhook

DELETE https://sandbox-api.deliveryapp.com/api/v1/webhooks/{id}



Reference: https://api-docs.zippd.com/webhooks/delete-webhooks

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /webhooks/{id}:
    delete:
      operationId: delete-webhooks
      summary: Delete a Webhook
      description: ''
      tags:
        - subpackage_webhooks
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhooks_delete-webhooks_Response_200'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Delete-webhooksRequestForbiddenError'
        '404':
          description: The resource could not be found using the given request data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Delete-webhooksRequestNotFoundError'
servers:
  - url: https://sandbox-api.deliveryapp.com/api/v1
components:
  schemas:
    Webhooks_delete-webhooks_Response_200:
      type: object
      properties:
        message:
          type: string
          description: A message confirming the action.
      title: Webhooks_delete-webhooks_Response_200
    Delete-webhooksRequestForbiddenError:
      type: object
      properties:
        message:
          type: string
          description: A message with information about the error.
      title: Delete-webhooksRequestForbiddenError
    Delete-webhooksRequestNotFoundError:
      type: object
      properties:
        error:
          type: string
      title: Delete-webhooksRequestNotFoundError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: ''

```

## SDK Code Examples

```python Successful
import requests

url = "https://sandbox-api.deliveryapp.com/api/v1/webhooks/id"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.json())
```

```javascript Successful
const url = 'https://sandbox-api.deliveryapp.com/api/v1/webhooks/id';
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Successful
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://sandbox-api.deliveryapp.com/api/v1/webhooks/id"

	req, _ := http.NewRequest("DELETE", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Successful
require 'uri'
require 'net/http'

url = URI("https://sandbox-api.deliveryapp.com/api/v1/webhooks/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Successful
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.delete("https://sandbox-api.deliveryapp.com/api/v1/webhooks/id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Successful
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('DELETE', 'https://sandbox-api.deliveryapp.com/api/v1/webhooks/id', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Successful
using RestSharp;

var client = new RestClient("https://sandbox-api.deliveryapp.com/api/v1/webhooks/id");
var request = new RestRequest(Method.DELETE);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Successful
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox-api.deliveryapp.com/api/v1/webhooks/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "DELETE"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```