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
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
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:
JavaScript SDK
REST request body