Delete saving
This endpoint allows users to delete a household saving. A saving can not be deleted if the default account = 1.
Path parameters
-
The GUID of the household you wish to delete a saving for.
-
The GUID of the saving to delete.
DELETE
/api/v2/household/{HouseholdGUID}/savings/{SavingsGUID}
curl \
-X DELETE https://api.fincalc.co.uk/api/v2/household/{HouseholdGUID}/savings/{SavingsGUID} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"message": "Saving deleted successfully"
}
Response examples (403)
{
"success": false,
"message": "You do not have permission to edit the household."
}
Response examples (404)
{
"success": false,
"message": "Saving not found."
}