Skip to main content
PUT
/
identities
/
{identity_id}
Edit identity
curl --request PUT \
  --url http://localhost:5001/identities/{identity_id} \
  --header 'X-blnk-key: <api-key>'
Use blnk.Identity.update to change the profile details on an identity.
blnk.Identity.update
const response = await blnk.Identity.update(
  'idt_3b63c8da-af29-4cc3-ad38-df17d87456e6',
  {
    identity_type: 'individual',
    first_name: 'Jane',
    last_name: 'Smith',
  },
);
FieldDescription
idIdentity ID to update.
identity_typeindividual or organization.
Profile fieldsAny field from create you want to change.

Response shape

200 OK
{
  "identity_id": "idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
  "identity_type": "individual",
  "first_name": "Jane",
  "last_name": "Smith",
  "email_address": "alice.smith@example.com",
  "created_at": "2024-11-26T08:36:36.238244338Z"
}
FieldDescription
identity_idUnique ID for the identity.
created_atDate and time the identity was created.
The response returns the full identity with your changes applied.

How identities work

Linking balances and handling profile data.

Edit identity

HTTP request and response schema.

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool. To ask questions or discuss issues, please contact us or join our Discord community.