---
title: "Delete a geofence."
url: "https://developers.vzconnect.com/apis/geofence-api-1/versions/97ac0c29-6cea-4076-8841-35f03eedbd6c/operations/deleteGeofence"
---

> Full API specification: https://developers.vzconnect.com/apis/geofence-api-1/versions/97ac0c29-6cea-4076-8841-35f03eedbd6c.md

# Delete a geofence.

`DELETE` `/geo/v1/geofences/{placeid}`

Operation ID: `deleteGeofence`

Delete any Geofence shape type from a REVEAL account. The DELETE Geofence method does not return an object review; the response is limited to standard HTTP codes.

## Path parameters

- `placeid` (string, required) - The PlaceID that uniquely identifies the Geofence within the REVEAL account.

## Responses

- `204` - Geofence successfully deleted.
- `400` - Bad request.
- `401` - Unauthorized. Authentication credentials are missing or invalid.
- `404` - Geofence not found with the specified PlaceID.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Geofence API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /geo/v1/geofences/{placeid}:
    delete:
      summary: Delete a geofence.
      description: Delete any Geofence shape type from a REVEAL account. The DELETE
        Geofence method does not return an object review; the response is
        limited to standard HTTP codes.
      operationId: deleteGeofence
      tags:
        - Geofence API
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/geo/v1/geofences/[^/]+/?$
      parameters:
        - name: placeid
          in: path
          required: true
          description: The PlaceID that uniquely identifies the Geofence within the REVEAL
            account.
          schema:
            type: string
            example: "369852"
      responses:
        "204":
          description: Geofence successfully deleted.
          content:
            application/json: {}
        "400":
          description: Bad request.
          content:
            application/json: {}
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid.
          content:
            application/json: {}
        "404":
          description: Geofence not found with the specified PlaceID.
          content:
            application/json: {}
        "500":
          description: Internal server error.
          content:
            application/json: {}
```
