---
title: "Remove a geofence from a group"
url: "https://developers.vzconnect.com/apis/group-api-1/versions/1abd2768-7ba0-4b09-8b60-156957ef21ce/operations/DELETE__groups__groupid__geofences__placeid_"
---

> Full API specification: https://developers.vzconnect.com/apis/group-api-1/versions/1abd2768-7ba0-4b09-8b60-156957ef21ce.md

# Remove a geofence from a group

`DELETE` `/cmd/v1/groups/{groupid}/geofences/{placeid}`

Operation ID: `DELETE__groups__groupid__geofences__placeid_`

Remove a geofence from a specific Group ID. The Place ID and the Group ID are supplied in the path. If the geofence is removed from all group associations it is placed within 0 Groups (available for review to any users with access to view Geofences). This does NOT delete the geofence record from the REVEAL account. DELETE methods do not return an object review, only a standard HTTP code.

## Path parameters

- `groupid` (string, required) - The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.
- `placeid` (string, required) - The Place ID, the unique value within a REVEAL account used to identify a Geofence.

## Responses

- `204` - Successfully removed the geofence from the group.
- `400` - Bad request. No group was found for the given Group ID.
- `401` - Unauthorized. The request lacks valid authentication credentials.
- `404` - The specified geofence was not found.
- `500` - Internal server error. An unexpected error occurred on the server.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Group API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /cmd/v1/groups/{groupid}/geofences/{placeid}:
    delete:
      tags:
        - Group API
      summary: Remove a geofence from a group
      description: Remove a geofence from a specific Group ID. The Place ID and the
        Group ID are supplied in the path. If the geofence is removed from all
        group associations it is placed within 0 Groups (available for review to
        any users with access to view Geofences). This does NOT delete the
        geofence record from the REVEAL account. DELETE methods do not return an
        object review, only a standard HTTP code.
      parameters:
        - schema:
            type: string
            example: CPTG1
          name: groupid
          in: path
          required: true
          description: The Group ID, the unique alphanumeric identifier associated with
            the group created within the REVEAL account. Must be unique within
            the account.
        - schema:
            type: string
            example: WCB-Circle-151112-1
          name: placeid
          in: path
          required: true
          description: The Place ID, the unique value within a REVEAL account used to
            identify a Geofence.
      operationId: DELETE__groups__groupid__geofences__placeid_
      responses:
        "204":
          description: Successfully removed the geofence from the group.
          content:
            application/json: {}
        "400":
          description: Bad request. No group was found for the given Group ID.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: Unauthorized. The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: The specified geofence was not found.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "500":
          description: Internal server error. An unexpected error occurred on the server.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      deprecated: false
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/cmd/v1/groups/[^/]+/geofences/[^/]+/?$
components:
  schemas:
    Error:
      type: object
      description: Generic error response. The documentation does not define an
        explicit error body schema.
      properties:
        Message:
          type: string
          description: A human-readable description of the error.
```
