larksuite--cli
bf9395e022
CI / license-header (push) Has been skipped
CI / e2e-dry-run (push) Has been skipped
CI / fast-gate (push) Failing after 0s
Test PR Label Logic / test-pr-labels (push) Failing after 1s
Skill Format Check / check-format (push) Failing after 2s
CI / security (push) Failing after 5s
CI / unit-test (push) Has been skipped
CI / lint (push) Has been skipped
CI / script-test (push) Has been skipped
CI / deterministic-gate (push) Has been skipped
CI / coverage (push) Has been skipped
CI / results (push) Has been cancelled
CI / deadcode (push) Has been cancelled
CI / e2e-live (push) Has been cancelled
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.