Synology Drive icon

Synology Drive

Synology Drive / FileStation operations

Update Label

AI-generated

Summary

Update an existing label's name and color in Synology Drive by specifying its unique Label ID along with the new label name and color.

Inputs

  • Label ID (required) — The unique identifier of the label to update.
  • Label Name (required) — The new name to assign to the label.
  • Label Color — The new color for the label, chosen from predefined options (Red, Orange, Yellow, Green, Blue, Purple). Defaults to Blue if not provided.

Output shape

a single JSON object representing the updated label update operation result.

The output contains the API response indicating success or failure of the label update operation. Additional fields from the Synology Drive API response may be included.

Examples

Example 1: Update a label's name to 'Work Documents' with color green.

Set 'Label ID' to the existing label's ID, 'Label Name' to 'Work Documents', and 'Label Color' to 'green'.

Links

Discussion