PUT
/
api
/
v2
/
public
/
linked-account

This API updates the details of an existing linked account or creates a new one if no account exists for the provided linked account ID.

Request description

Body Parameters

linked_account_id
string
required

Unique customer identification id. For Eg: markwood@some_email.com

name
string

User name. for Eg: Mark Wood

your_app
object

An object containing the details of your application associated with you account

udf
object

An object containing user-defined fields (if any) associated with the linked account.

Response description

_id
string

index id of the record created

associated_org
string

Organization Id

account_id
string

Linked account id

environment
string

Environment in which the account was created

name
string

Name of the linked account

udf
array

Initial values passed while creating the linked account. User can pass any values of primitive datatypes.

createdAt
date

Creation time

updatedAt
date

`Last update time

__v
integer