---
title: "Delete Batch Geofence"
method: DELETE
path: "/geofence/batch"
tags: ["Geofence"]
---

# Delete Batch Geofence

`DELETE /geofence/batch`

## Query parameters

- `key` string, 32 character alphanumeric string, required

## Request body

- DtoGeofenceEntityBatchDelete
  - `ids` string[] — An array IDs of the geofence to be deleted. These are the IDs that were generated/provided at the time of creating the respective geofences.

## Response `200`

OK

- DtoSimpleResp
  - `message` string — Displays the error message in case of a failed request. If the request is successful, this field is not present in the response.
  - `status` string — A string indicating the state of the response. On successful responses, the value will be Ok. Indicative error messages are returned for different errors. See the [API Error Codes](#api-error-codes) section below for more information.

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/nextbillion-ai/apis/one-spec-service.md) · [All operations](https://skmtc.net/nextbillion-ai/apis/one-spec-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nextbillion-ai/one-spec-service/versions/b647f1808dda/schema)
