Identities
Edit identity
Update the fields stored on an identity.
/identities/{identity_id}Authorization
If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Core API key.
Send only the fields you want to change. Blnk skips an empty string, so the stored value stays, and a body with no fields returns 400. When you send meta_data, Blnk merges those keys into the stored object and keeps tokenized_fields.
Path
identity_idstring
Id of the identity to update.
Body
identity_typestring
individual or organization.
organization_namestring
Name of the organization.
first_namestring
First name of the individual.
last_namestring
Last name of the individual.
other_namesstring
Other names linked to the individual.
genderstring
Gender of the individual.
dobstring
Date of birth, as an ISO 8601 timestamp.
email_addressstring
Email address of the identity.
phone_numberstring
Contact number of the identity.
nationalitystring
Nationality of the individual.
categorystring
A label for this customer, such as customer or vip.
streetstring
Street address of the identity.
countrystring
Country of the identity.
statestring
State or region of the identity.
post_codestring
Postal code of the identity.
citystring
City of the identity.
meta_dataobject
Custom metadata. Keys you send are merged into the stored object. Blnk keeps tokenized_fields, and a client cannot set or clear it.
Response
messagestring
Confirms the identity was updated.