Internal: Data Lifecycle

Update data lifecycle settings

Configure archive_after_days (when live data is aggregated) and delete_after_days (when old data is permanently removed). Set to null to disable.

put/api/v1/settings/archival

Request

  • Base URL: https://api.openwearables.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.openwearables.io/api/v1/settings/archival
  • Auth: OAuth 2 (password, token URL /api/v1/auth/login)

Request body

archive_after_daysinteger nullable

Days before live data is archived. NULL to disable archival.

delete_after_daysinteger nullable

Days before data is permanently deleted. NULL to keep indefinitely.

Response

Successful Response

Changes

No recorded changes to this operation across all 28 revisions of this API.