Delete Beneficiary
https://sandboxapi.onbrails.com/api/v2/beneficiaries/{beneficiary_id} (opens in a new tab)
Delete a beneficiary using the beneficiary id.
Path Parameters
| Parameter | Type | Required |
|---|---|---|
| beneficiary_id | string | ✅ |
Request
Beneficiaries/Delete Beneficiary [DELETE]
curl --request DELETE \
--url https://sandboxapi.onbrails.com/api/v2/beneficiaries/{beneficiary_id} \
--header 'Authorization: Bearer YOUR_SECRET_KEY' \
--header 'accept: application/json'Responses
🟢 200 - Result example
{
"status": true,
"message": "successfully deleted beneficiary",
"data": true
}