Actions36
- List Files
- Search Files
- Download File
- Upload File
- Create Folder
- Rename
- Delete
- Copy / Move
- List Starred Files
- List Recent Files
- List Shared with Me
- List Shared with Others
- Get File Ancestors
- Create Share Link
- List Share Links
- Update Share Permissions
- List Labels
- Create Label
- Update Label
- Delete Label
- Add Label to File
- List Files by Label
- Star File
- Convert Office File
- List Team Folders
- Get Team Folder Members
- Create Webhook
- List Webhooks
- Get Webhook
- Update Webhook
- Delete Webhook
- Get File Thumbnail
- Upload from DSM
- Request Access
- Custom Drive Call
- List Drive APIs
Create Label
AI-generatedSummary
Create a new label in Synology Drive with a specified name and color.
Inputs
- Label Name (required) — The name of the label to create.
- Label Color — The color of the label to create. Choose from Red, Orange, Yellow, Green, Blue, or Purple. Defaults to Blue.
Output shape
a JSON object representing the created label, including its name, color, and any additional API response data.
The output includes the API response indicating success or failure of the label creation. No pagination or additional optional fields apply.
