Actions18
Update Label
AI-generatedSummary
Renames an existing Synology Contacts label by Label ID, using the Label Name as the new label name. The node attempts the update against the SYNO.Contacts.Label, SYNO.AddressBook.Label, and SYNO.AddressBook.Group APIs, trying the update and set methods until it finds a compatible API on the target DSM server. Authentication uses the synologyDsmApi credentials and occurs automatically if no session is active. Both Label ID and Label Name are required; no address book ID is used for this operation.
Inputs
- Label ID (required) — Identifier of the label to rename; obtain it from a List Labels operation.
- Label Name (required) — New name to apply to the label.
Output shape
For successful items: the JSON response returned by the DSM Contacts API after the update. For failed items with Continue On Fail: { error, details }.
Processes each input item independently. On success, returns the raw DSM API response for the update call. If Continue On Fail is enabled and an item fails, that item is returned as an error object instead of stopping execution.
Examples
Example 1: Update a label's display name on DSM.
Renames an existing Synology Contacts label.
