Delete withdrawal
This endpoint allows users to delete a household pension withdrawal.
Path parameters
-
HouseholdGUID
string(uuid) Required The HouseholdGUID of the client.
-
PensionGUID
string(uuid) Required The PensionGUID for the withdrawal you want to delete.
-
PensionWithdrawalGUID
string(uuid) Required The PensionWithdrawalGUID you want to delete.
DELETE
/api/v2/household/{HouseholdGUID}/pensions/{PensionGUID}/withdrawals/{PensionWithdrawalGUID}
curl \
--request DELETE 'https://api.fincalc.co.uk/api/v2/household/{HouseholdGUID}/pensions/{PensionGUID}/withdrawals/{PensionWithdrawalGUID}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"message": "Withdrawal deleted successfully"
}
Response examples (403)
{
"success": false,
"message": "You do not have permission to edit the household."
}
Response examples (404)
{
"success": false,
"message": "Withdrawal not found."
}