Synology MailPlus icon

Synology MailPlus

Synology MailPlus API operations (18 endpoints + legacy support)

Create Label

AI-generated

Summary

Create a new label in Synology MailPlus with customizable name, background color, text color, and optional parent label association.

Inputs

  • Label Name (required) — Specify the name of the new label to create.
  • Background Color — Set the label's background hex color code (default is '24BFF2').
  • Text Color — Set the label's text hex color code (default is 'FFFFFF').
  • Parent Label ID — Provide the ID of a parent label to nest this label under; defaults to 0 (no parent).

Output shape

A JSON object representing the created label, including its ID and properties as returned by the Synology MailPlus API.

The output contains at least the 'success' status field and the created label data. Errors are thrown on failure.

Links

Discussion