---
title: "Delete all validations that belong to the batch"
method: DELETE
path: "/lookup/v2/batch-validations/{batch_id}"
tags: ["Lookup V2"]
---

# Delete all validations that belong to the batch

`DELETE /lookup/v2/batch-validations/{batch_id}`

This endpoint allows the deletion of a batch resource and all its validations. 
All validations in the batch must be finished (not running) for it to get deleted.

## Response `200`

The batch and validations were deleted.

- object
  - `batch_id` string, required

## Other responses

- `400` — Bad Request. A batch cannot be deleted if it contains any validation that is still running.
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/fonoa/apis/fonoa-api.md) · [All operations](https://skmtc.net/fonoa/apis/fonoa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fonoa/fonoa-api/versions/cf0ebc843a3f/schema)
