Update Account

PATCH /api/v2/directory/accounts/{reference_id}

This endpoint is utilized to modify/update the details of a specific account identified by reference_id.

Path Parameters

Name
Type
Description
Required

reference_id

string

Unique identifier for the account, previously external_id. Example: transfer7890

True

Body

Name
Type
Description
Required

field

array

The name of the field to be updated. Examples: individual, individual_name, name_first

True

value

string, integer, date

The value of the field to be updated to. Example: Mark

fields

array

An array of the fields to be updated.

Sample Request

{
  "fields": [
    {
      "field": [
        "individual",
        "individual_name",
        "name_first"
      ],
      "value": "John"
    },
    {
      "field": [
        "individual",
        "individual_name",
        "name_last"
      ],
      "value": "Doe"
    },
    {
      "field": [
        "email"
      ],
      "value": "[email protected]"
    }
  ]
}

Last updated