DELETE
/api/v1/plans/{plan_uuid}/sub-accounts/{uuid}
curl \
--request DELETE 'https://api.plannrcrm.com/api/v1/plans/6ff8f7f6-1eb3-3525-be4a-3932c805afed/sub-accounts/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"name": "John's ISA",
"uuid": "c65cbcd2-1ace-4cc1-9f29-92280b2b0261",
"created_at": "2025-08-27T17:31:26+01:00",
"statistics": {
"recent_growth": 100
},
"updated_at": "2025-08-27T17:31:26+01:00",
"policy_number": "AVI-4837",
"is_main_account": false,
"active_portfolio": {
"name": "Risky Portfolio",
"uuid": "f7dacb0c-c61c-42d8-9f37-ff4c500f76d4",
"created_at": "2025-08-27T17:31:26+01:00",
"updated_at": "2025-08-27T17:31:26+01:00",
"is_proposed": true,
"proposed_at": "2025-08-27T00:00:00+01:00"
},
"latest_valuation": {
"uuid": "8a2d4c53-348a-4502-9dbe-b5283d150ea7",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
}
},
"valued_at": "2025-08-27T17:31:26+01:00",
"created_at": "2025-08-27T17:31:26+01:00",
"updated_at": "2025-08-27T17:31:26+01:00",
"sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
}
}