---
title: "Update"
method: PATCH
path: "/tracking/geofence_templates/update/v1/{geofence_template_id}"
tags: ["/tracking", "/tracking/geofence_templates"]
---

# Update

`PATCH /tracking/geofence_templates/update/v1/{geofence_template_id}`

Updates an active geofence template owned by the caller's organization. | authz: min_org_role=operator | (SessionGeofenceTemplateClientUpdate1) -> (SessionGeofenceTemplate1)

## Path parameters

- `geofence_template_id` string, required

## Request body

- SessionGeofenceTemplateClientUpdate1
  - `name` string, nullable
  - `description` string, nullable
  - `geofences` SessionGeofenceBase1[] — unresolved $ref
  - `description__set_to_None` boolean

## Response `200`

Successful Response

- SessionGeofenceTemplate1
  - `schema_version` 1, required
  - `name` string, required
  - `description` string, nullable
  - `geofences` SessionGeofenceBase1[], required — unresolved $ref
  - `_id` string, required
  - `owned_by_org_id` string, required — Must be a string starting with `org_`
  - `owned_by_user_id` string, required — Must be a string starting with `user_`
  - `created_at_timestamp` string, date-time, required
  - `last_edited_at_timestamp` string, date-time, required
  - `last_used_at_timestamp` string, date-time, nullable
  - `archived_at_timestamp` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
