# Delete a webhook subscription

`DELETE /v2/webhooks`

**Base URLs:**

- Sandbox: `https://api.sandbox.bobgo.co.za`
- Production: `https://api.bobgo.co.za`

**Authentication:** Bearer token required (see the Authentication page).

## Example request

```bash
curl -X DELETE 'https://api.sandbox.bobgo.co.za/v2/webhooks' \
  -H "content-type: application/json" \
  -H "Authorization: Bearer <API_KEY>" \
  -d '{
  "ids": [
    364
  ]
}'
```

Removes one or more subscriptions, given their ids in the JSON body.

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `ids` | array of integer | yes | The subscriptions to remove. |

A successful delete returns `204` with no body. An id that does not exist is
ignored rather than reported, so list your subscriptions afterwards if you need
to be sure.
