Skip to main content
POST
Undo habit logs for a day

Authorizations

X-API-Key
string
header
required

API key generated from our app (Settings > API). Only one key can be active at a time.

Path Parameters

habitId
string
required

The unique identifier of the habit

Body

application/json
targetDate
string<date>

Date to undo logs for (YYYY-MM-DD format). Defaults to today.

Response

Habit progress undone successfully

message
string
Example:

"Habit progress undone successfully"