# DELETE /darkcrawl/v1/watches/{watch_id}

> Delete a watch with its hits and alerts.

DELETE `/darkcrawl/v1/watches/{watch_id}`

**Authentication:** your key as a [bearer token](https://darkcrawl.dev/docs/api-reference/authentication/).

## Path parameters

| Field      | Type     | Required | Default |
| ---------- | -------- | -------- | ------- |
| `watch_id` | `string` | Required |         |

## Request

**curl**

```bash
curl -X DELETE https://api.darkcrawl.dev/darkcrawl/v1/watches/WATCH_ID \
  -H "Authorization: Bearer $DARKCRAWL_API_KEY"
```

**Python**

```python
import os
import requests

resp = requests.delete(
    "https://api.darkcrawl.dev/darkcrawl/v1/watches/WATCH_ID",
    headers={"Authorization": "Bearer " + os.environ["DARKCRAWL_API_KEY"]},
    timeout=330,
)
print(resp.json())
```

**Node**

```javascript
const resp = await fetch("https://api.darkcrawl.dev/darkcrawl/v1/watches/WATCH_ID", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer " + process.env.DARKCRAWL_API_KEY,
  },
  signal: AbortSignal.timeout(330000),
});
console.log(await resp.json());
```

## Response

Status `204`. The reply has no body.

## Errors

| Code        | Status |
| ----------- | ------ |
| `NOT_FOUND` | 404    |

What each code means, and what to do about it: [Errors](https://darkcrawl.dev/docs/api-reference/errors/).

## Notes

- The reply is `204` with no body. Deliveries of its alerts that were waiting are cancelled.
- An unknown id, and another company's watch, answer `404 NOT_FOUND`.
