---
title: "Correct a story's date"
method: PUT
path: "/v1/admin/updates/date"
tags: ["Admin"]
---

# Correct a story's date

`PUT /v1/admin/updates/date`

## Request

- Base URL: `http://api.technooptimist.io`
- URL: `http://api.technooptimist.io/v1/admin/updates/date`
- Auth: HTTP bearer

Moves one update, by `id` or `externalKey`, to the day its source gives (`date` YYYY-MM-DD, stored date-only). `sources`: the pages showing that date (kept in the audit log). Unchanged → `changed: false`.

## Headers

- `x-routine-name` string: Name of the routine making the write; recorded as `routine:<name>` in the audit log.

## Request body

- object
  - `id` string, uuid
  - `externalKey` string
  - `date` string, required
  - `sources` string[], required

## Response `200`

Written (or already that day)

- object
  - `id` string, uuid, required
  - `changed` boolean, required

## Other responses

- `401`: Missing or invalid credentials
- `403`: Credential lacks the required scope
- `404`: Not found
- `409`: Conflict
- `422`: Validation failed

---

[API](https://skmtc.dev/technooptimist/apis/the-techno-optimist-api.md) · [All operations](https://skmtc.dev/technooptimist/apis/the-techno-optimist-api/llms.txt) · [OpenAPI document](https://skmtc.dev/technooptimist/apis/the-techno-optimist-api/revisions/b7bcde6a0f30?raw)
