Compliance
Batch create account entity relationships
Associates multiple entities with an account under a single relationship type.
post/v0/accounts/{id}/entity_relationships/batch
Request
- Base URLhttps://api.sandbox.lead.bank
- URLhttps://api.sandbox.lead.bank/v0/accounts/{id}/entity_relationships/batch
- AuthHTTP bearer
Path parameters
idstring required
The ID of the Account object.
Example:account_xyz123
Account ID
Headers
Idempotency-Keystring required
Unique key to ensure idempotent requests
Request body
Example request
{
"entity_ids": [
"entity_xyz123"
],
"relationship_type": "account_holder"
}Response
Entity relationships created successfully.
Example response
{
"account_id": "account_xyz123",
"relationship_type": "account_holder",
"entity_ids": [
"entity_xyz123"
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.