API Reference
Delete Beneficiary [DELETE]

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

ParameterTypeRequired
beneficiary_idstring

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
}