Skip to main content

Delete Beneficiary Account

DELETE /beneficiaries/{uuId}

Description

Delete a beneficiary account.

Path Parameters

NameTypeDescription
uuIdstringThe unique identifier of the beneficiary (path)

Request Headers

NameTypeDescription
countryCodestringThe country code (header)
tenantIdstringThe tenant ID (header)
userIdstringThe user ID (header)

Query Parameters

NameTypeDescription
userIdstringThe user ID (query)

Example

DELETE /beneficiaries/{uuId}
Content-Type: application/json
countryCode: string
tenantId: string
userId: string

Response Code: 200 - OK

Description

Beneficiary deleted successfully.

Response Fields

FieldTypeDescription
statusbooleanIndicates if the operation was successful
statusCodeintegerStatus code
messagestringResponse message
dataobjectData related to the deletion operation
errorsarrayList of error messages, if any

Example

{
"status": true,
"statusCode": 0,
"message": "Beneficiary deleted successfully",
"data": {},
"errors": [
{
"message": "Some error occurred",
"descriptiveMessage": "Detailed error message"
}
]
}

Headers

Content-TypeValue
apiKey{{apiKey}}
countryCodestring
tenantIdstring
userIdstring

Query Parameters

NameValue
userIdstring

🔑 Authentication bearer

ParamValueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request DELETE \ 
--url /beneficiaries/{uuId} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!