1.2 KiB
1.2 KiB
task +tasklist-members
Prerequisites: Please read
../lark-shared/SKILL.mdto understand authentication, global parameters, and security rules.
Manage tasklist members (editors/owners).
Recommended Commands
# Add a member
lark-cli task +tasklist-members --tasklist-id "tl_xxx" --add "ou_aaa"
# Remove a member
lark-cli task +tasklist-members --tasklist-id "tl_xxx" --remove "ou_aaa"
# Replace all members exactly
lark-cli task +tasklist-members --tasklist-id "tl_xxx" --set "ou_aaa,ou_bbb"
Parameters
| Parameter | Required | Description |
|---|---|---|
--tasklist-id <id> |
Yes | The GUID of the tasklist, or a full AppLink URL. |
--add <ids> |
No | Comma-separated list of user open_ids to add as members. |
--remove <ids> |
No | Comma-separated list of user open_ids to remove from members. |
--set <ids> |
No | Comma-separated list of user open_ids to exactly set as members (replaces all existing). |
Workflow
- Confirm the tasklist and members to add/remove/set.
- Execute the command.
- Report success.
Caution
This is a Write Operation -- You must confirm the user's intent before executing.