Delete Beneficiary Account
DELETE /beneficiaries/{uuId}
Description
Delete a beneficiary account.
Path Parameters
| Name | Type | Description |
|---|---|---|
uuId | string | The unique identifier of the beneficiary (path) |
Request Headers
| Name | Type | Description |
|---|---|---|
countryCode | string | The country code (header) |
tenantId | string | The tenant ID (header) |
userId | string | The user ID (header) |
Query Parameters
| Name | Type | Description |
|---|---|---|
userId | string | The 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
| Field | Type | Description |
|---|---|---|
| status | boolean | Indicates if the operation was successful |
| statusCode | integer | Status code |
| message | string | Response message |
| data | object | Data related to the deletion operation |
| errors | array | List 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-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
| countryCode | string |
| tenantId | string |
| userId | string |
Query Parameters
| Name | Value |
|---|---|
| userId | string |
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
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!