---
title: "Upsert this entry's value for a tracker -- both values null/empty clears it (idempotent)"
method: PUT
path: "/diaries/{diaryId}/entries/{entryId}/trackers/{trackerId}"
tags: ["Legacy (v1-compat)"]
---

# Upsert this entry's value for a tracker -- both values null/empty clears it (idempotent)

`PUT /diaries/{diaryId}/entries/{entryId}/trackers/{trackerId}`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/diaries/{diaryId}/entries/{entryId}/trackers/{trackerId}`
- Auth: HTTP bearer

## Path parameters

- `diaryId` string, uuid, required
- `entryId` string, uuid, required
- `trackerId` string, uuid, required

## Request body

- CompatUpdateTrackerValueRequest
  - `valueNum` number, nullable
  - `valueText` string, nullable

## Response `200`

OK

- object
  - `ok` true, required

---

[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)
