Lark icon

Lark

Consume Lark API

Actions118

文档 → 删除文档块

AI-generated

Summary

Deletes document blocks by sending the supplied request body to Lark’s batch-delete endpoint for the specified document and parent block. Choose tenant or user access token authentication; the document selector notes that read permission for the base role is required.

Inputs

  • authentication — Choose Tenant Access Token or User Access Token authentication.
  • document_id (required) — Select a document from the list or enter its ID. The UI notes that read permission for the base role is required.
  • block_id (required) — ID of the parent block.
  • body (required) — JSON object sent as the request body for the batch-delete operation.
  • options.document_revision_id — Document revision to use; defaults to -1, indicating the latest version.
  • options.request_id — Unique request identifier for idempotency.

Output shape

A single JSON item containing the Lark API response.

The operation makes a batch-delete API request. The source does not expose a narrower response schema; API errors are raised as node errors.

Links

Discussion