Loki Docs
Tools › Savings goals › Delete a savings goal

Delete a savings goal

delete_savings_goalChanges
What it does
Changes or deletes something you had. Your assistant can ask you to confirm first. Safe to retry: the same call twice changes nothing more.
Permission
Savings goals, change goals:write

What your assistant is told

Permanently delete a savings goal along with its deposit history — use when the user abandons a goal or wants a completed one removed. goal_id is the goal's UUID (from get_savings_goal_progress). This cannot be undone and discards the recorded deposits for that goal; confirm with the user first. Returns the deleted id. To EDIT a goal instead of deleting it, use update_savings_goal.

Parameters

  • goalIdid, requiredUUID of the goal to delete. Use get_savings_goal_progress to find it.