---
title: "Removes the given geofence"
method: DELETE
path: "/v1/resourceowner/geofence/{geofenceId}"
tags: ["ResourceOwnerGeofence"]
---

# Removes the given geofence

`DELETE /v1/resourceowner/geofence/{geofenceId}`

## Request

- Base URL: `https://api.automile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.automile.com/v1/resourceowner/geofence/{geofenceId}`
- Auth: OAuth 2
  - Implicit: `https://api.automile.com/login/`

## Path parameters

- `geofenceId` integer, required

## Response `200`

The geofence has been deleted

## Other responses

- `403`: Request is forbidden, could occur for a number of reasons, see returned message
- `404`: Not found, the geofence you tried to remove can't be found
- `500`: Internal server error

---

[API](https://skmtc.dev/automile/apis/automile-api.md) - [All operations](https://skmtc.dev/automile/apis/automile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/automile/apis/automile-api/revisions/56b5b8d6d733?raw)
