---
title: "Update an existing Geofence"
method: PUT
path: "/v1/geofences/{id}"
---

# Update an existing Geofence

`PUT /v1/geofences/{id}`

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string — Update the name of the Geofence.
  - `category` string — Update the category of the Geofence. Alowed values are: 'Uncategorized', 'Fuel Station', 'Job Site', 'Maintenance Facility', 'Receiver / Consignee', 'Restricted Location', 'Shipper', 'Terminal / Yard', 'Truck Stop / Rest Area', 'Weigh Station / Scale', 'Shipper / Receiver'
  - `location_points` string[] — Specify the latitude and the longitude of the Geofence. You must provide multiple latitudes and longitudes to form a polygon.
  - `status` string — Update the status of the Geofence. Allowed values are: active or deactivated.
  - `description` string — Provide a short description for the Geofence.
  - `radius_in_meters` number, float — Specify the radius of the circular Geofence in meters.
  - `centre_lat` number, float — Specify the latitude of the center of the circular Geofence.
  - `centre_lon` number, float — Specify the longitude of the center of the circular Geofence.

## Response `200`

200

- object
  - `geofence` object
    - `id` integer
    - `name` string
    - `category` string
    - `status` string
    - `description` string
    - `address` string
    - `location_points` object[]
      - `lat` number
      - `lon` number

## Other responses

- `400` — 400
- `404` — 404

---

[API](https://skmtc.net/gomotive/apis/motive.md) · [All operations](https://skmtc.net/gomotive/apis/motive/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gomotive/motive/revisions/c71780e497f5/schema)
