Hercle
REST
DELETE/api/v1/end-users/relations

Delete End User Relation

Deletes the relation with an end user (individual or business).

Auth:Bearer <api_key>
Tags:BankingSandbox

Request

cURL
curl -X DELETE https://publicapi.sandbox.hercle.financial/api/v1/end-users/relations \
  -H "Authorization: Bearer eyJhb..." \
  -H "Content-Type: application/json" \
  -d '{"id": "addr_1234567890"}'

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer API_KEY
Example: Bearer your_api_key_here
Content-TypestringYesapplication/json
Example: application/json

Request Body

Schema

FieldTypeDescriptionRequired
endUserIdstringUnique identifier of the end userYes
endUserTypestring
Type of end user
Allowed values:
Individual
Business
Yes

Example

{
  "endUserId": "eu_abc123",
  "endUserType": "Individual"
}

Response

Success Response Schema

FieldTypeDescription
endUserIdstringUnique identifier of the deleted end user
endUserTypestringType of end user (individual or business)
deletedAtstringISO 8601 timestamp of when the relation was deleted

Delete End User Relation Response Object

Response containing the deleted end user relation details

FieldTypeDescription
endUserIdstringUnique identifier of the deleted end user
endUserTypestringType of end user (individual or business)
deletedAtstringISO 8601 timestamp of when the relation was deleted

Responses

End user relation successfully deleted

200 application/json
{
  "endUserId": "eu_abc123",
  "endUserType": "individual",
  "deletedAt": "2026-04-02T12:00:00Z"
}

API Tester

Test this endpoint directly against the sandbox environment

Get your API key from Hercle Sandbox

https://publicapi.sandbox.hercle.financial/api/v1/end-users/relations