Delete Datapoint

beeminder.delete_datapoint
ActionBusiness appsconnection required

Calls the Beeminder API with the connection's credentials.

Permanently remove one datapoint from a goal.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Beeminder
Secret shape
the personal auth token, or {"auth_token": "…"} / {"access_token": "…"}
Config it needs
username
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
goal
The goal's slug — the last segment of its Beeminder URL, e.g. 'weight'.
stringYes——weight
datapoint_id
The id of the datapoint to act on, as returned by a create or list call.
stringYes——5016fa9adad11576ad00000f

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "datapoint_id": "5016fa9adad11576ad00000f",
  "goal": "weight"
}

Output

One shape.

result

FieldTypeExample
deleted
True once Beeminder accepted the deletion.
boolean—
datapoint_id
The id of the datapoint that was removed.
string—
datapoint
The deleted datapoint as Beeminder returned it.
object—
{
  "datapoint": {},
  "datapoint_id": "",
  "deleted": false
}

See Delete Datapoint run in a workflow.

In a technical demo we add the Beeminder connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.