---
title: "Update a tracker definition's name/unit/min/max"
method: PATCH
path: "/groups/{groupId}/trackers/{trackerId}"
tags: ["Legacy (v1-compat)"]
---

# Update a tracker definition's name/unit/min/max

`PATCH /groups/{groupId}/trackers/{trackerId}`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/groups/{groupId}/trackers/{trackerId}`
- Auth: HTTP bearer

## Path parameters

- `groupId` string, uuid, required
- `trackerId` string, uuid, required

## Request body

- CompatUpdateTrackerRequest
  - `name` string
  - `unit` string, nullable
  - `minValue` number, nullable
  - `maxValue` number, nullable

## Response `200`

OK

- CompatTrackerDefinition
  - `id` string, uuid, required
  - `name` string, required
  - `kind` 'number' | 'scale' | 'mood' | 'text' | 'check' | 'characters', required
  - `unit` string, nullable, required
  - `min_value` number, nullable, required
  - `max_value` number, nullable, required
  - `can_edit` boolean: Whether the caller may change or remove it: its creator, or the group's owner/admin (never an admin of a system group). Present on list responses.

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
