---
title: "Delete Run"
method: DELETE
path: "/api/screen-bulk/{run_id}"
tags: ["screening"]
---

# Delete Run

`DELETE /api/screen-bulk/{run_id}`

## Request

- Base URL: `https://api.halalterminal.com`
- URL: `https://api.halalterminal.com/api/screen-bulk/{run_id}`
- Auth: API key in header `X-API-Key`

Delete a bulk screening run and its results.

Permanently removes a completed or cancelled run and all associated
screening results from the database. This action cannot be undone.

**curl example:**
```bash
curl -X DELETE "https://api.halalterminal.com/api/screen-bulk/abc123" \
     -H "X-API-Key: <API_KEY>"
```

**Python requests example:**
```python
import requests

resp = requests.delete(
    "https://api.halalterminal.com/api/screen-bulk/abc123",
    headers={"X-API-Key": "<API_KEY>"},
)
print(resp.json())
```

## Path parameters

- `run_id` string, required: Bulk-run ID returned by POST /api/screen-bulk.

## Response `200`

Confirmation that the run was deleted

- DeleteRunResponse
  - `run_id` string, required
  - `deleted` boolean, required: Whether the run was successfully deleted

## Other responses

- `401`: API key required or invalid
- `404`: Resource or symbol not found
- `422`: Validation Error
- `429`: Quota exceeded

---

[API](https://skmtc.dev/halalterminal/apis/halal-terminal-api.md) · [All operations](https://skmtc.dev/halalterminal/apis/halal-terminal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/halalterminal/apis/halal-terminal-api/revisions/78768b250943?raw)
