---
title: "Batch delete geofence"
method: POST
path: "/v1/geofence-collection/{collection}/batch-delete-geofence"
tags: ["Geofence Collection"]
---

# Batch delete geofence

`POST /v1/geofence-collection/{collection}/batch-delete-geofence`

## Request

- Base URL: `https://api.stellantis-developers.com`
- URL: `https://api.stellantis-developers.com/v1/geofence-collection/{collection}/batch-delete-geofence`
- Auth: API key in header `x-api-key` and API key in header `Authorization`
- TypeScript: <https://skmtc.dev/stellantis/apis/stellantis-connected-vehicle-api/docs/v1/geofence-collection/:collection/batch-delete-geofence/post.ts> (a function with typed inputs; its response is checked against the schema)

Remove one or more geofences from the geofence collection by providing the IDs os the geofences.

## Path parameters

- `collection` string, required

## Request body

- BatchDeleteGeofenceRequest
  - `geofence_ids` string[], required

## Response `200`

BatchDeleteGeofenceResponse

- string

## Other responses

- `400`: bad input parameter
- `403`: not authorized
- `500`: internal server error

---

[API](https://skmtc.dev/stellantis/apis/stellantis-connected-vehicle-api.md) - [All operations](https://skmtc.dev/stellantis/apis/stellantis-connected-vehicle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stellantis/apis/stellantis-connected-vehicle-api/revisions/1d2213b04fdb?raw)
