Node deletion cascades through the entire subtree by default
Source references: 2node-delete is irreversible and include-children defaults to true. Confirming “delete this node” and supplying --yes can therefore delete all descendants as well; the command does not require an explicit cascade choice.
Deleting a page with children may permanently remove the entire lower hierarchy and its content. A wrongly resolved node or an unnoticed default can make the loss much larger than the apparent target.
Supported. Real deletion is gated by `--yes`, but `--include-children` defaults to true, so confirming deletion of one node also irreversibly deletes its entire subtree by default; no separate cascade confirmation is required. Users can require the node and descendant count to be shown first and mandate `--include-children=false` unless subtree deletion was explicitly approved, which lifts direct children to the parent.
Delete a wiki node (or pull a cloud doc out of Wiki). OpenAPI: `DELETE /open-apis/wiki/v2/spaces/:space_id/nodes/:node_token`.> ⚠️ **High-risk write & irreversible** — deletes the node and (by default) its whole subtree. Requires explicit `--yes`; without it the CLI returns a `confirmation_required` error and nothing is deleted.- **Sync / async**: an empty `task_id` means the delete completed synchronously (`ready=true`). A non-empty `task_id` triggers bounded polling; if the window elapses the output carries `timed_out=true` and a `next_command`: `lark-cli drive +task_result --scenario wiki_delete_node --task-id <TASK_ID> --as <user|bot>`Show 1 other places
|------|------|----------|---------|-------------|| `--node-token` | string | **Yes** | — | `node_token`, cloud-doc `obj_token`, or a Lark URL embedding one; URL paths also imply `--obj-type` || `--obj-type` | enum | Conditional | — | Required for a raw token (URL inputs auto-infer). `wiki` = the token is a `node_token`; otherwise the cloud-doc type || `--space-id` | string | No | — | Auto-resolved via `get_node` when omitted (extra lookup; pass it to skip) || `--include-children` | bool | No | `true` | Cascade-delete the subtree (default). `--include-children=false` lifts direct children up to the parent || `--yes` | bool | Yes (real delete) | — | Confirm the high-risk operation. Without it the CLI returns `confirmation_required` || `--as` | enum | No | `auto` | Identity `user`/`bot`; wiki is user-centric → pass `--as user` |