Update Contact
AI-generatedSummary
Updates a CardDAV contact identified by UID with provided vCard data.
Inputs
- contactUid (required) — The UID of the contact to update.
- contactData (required) — Contact data in vCard format.
Output shape
{ success: boolean, result: any }
Returned as an array of objects; each contains success (true if update succeeded) and result (output from CardDAV updateVCard call). Throws error if contact not found.
Examples
Example 1: Update an existing contact
Set contactUid to the target contact's UID and contactData to the new vCard string. The node will locate the contact across address books and update its data.