User Account
Batch create user account entity relationships
Changed onAdd Entities to a User Account under a single relationship type.
post/v2/user_accounts/{user_account_id}/entity_relationships/batch
Request
- Base URLhttps://api.sandbox.lead.bank
- URLhttps://api.sandbox.lead.bank/v2/user_accounts/{user_account_id}/entity_relationships/batch
- AuthHTTP bearer
Path parameters
user_account_idstring required
The ID of the User Account object.
Example:user_account_xyz123
User Account ID
Headers
Idempotency-Keystring required
A unique key for this request, up to 255 characters. Retrying with the same key and body returns the original response without creating the relationships twice. See Idempotency.
Request body
Example request
{
"entity_ids": [
"entity_xyz123"
],
"relationship_type": "account_holder"
}Response
Entity relationships created successfully.
Example response
{
"user_account_id": "user_account_xyz123",
"relationship_type": "account_holder",
"entity_ids": [
"entity_xyz123"
]
}Changes
- info
endpoint added
- info