Contacts
Update a Contact
Update a contact’s asset list and contact groups. You can’t change its name or address. The update needs your API user’s approval.
REST request body
Response example
PUT
/api/external/contacts/{contactId}/
The current SDK update contract changes only
assetList and contactGroupIds. It does not rename the contact or replace its address.Path parameters
string
required
The unique contact identifier.
Request body
string[]
Assets permitted for the contact.
string[]
Organization-scoped contact groups to attach.
Response
Returns the updated contact’s identifying fields, a subset of Contact.string
Contact ID.
string
Contact display name.
string
Blockchain address.
string
Chain of the address.
string[]
Searchable contact tags.
string
Your own reference, if you set one.
string[]
Assets permitted for the contact.
Approve the update
Updating a contact opens a change request that your API user must approve. Call Get Approval Message withentityId set to the contact id, sign the message, and send the signature to Submit Approval Action. See Approvals for the full flow.
With the SDK, updateContactWithApproval() updates and approves in one call, then returns the contact:
REST request body
Response example