Lark icon

Lark

Consume Lark API

Actions118

文档 → 更新文档块内容

AI-generated

Summary

Updates the content of a specified block in a Lark document by sending the supplied JSON request body to the Lark API.

Inputs

  • Authentication (required) — Choose Tenant Access Token or User Access Token credentials.
  • 文档 ID (required) — Select a document from the list or enter its ID. The selected credentials need base-role read permission for the document.
  • 父块 ID (required) — The ID of the parent block to update.
  • 请求体 (required) — A JSON object containing the block content to update; its structure is determined by the Lark API.
  • 选项 — Optional user ID type (Open ID by default), document revision ID (-1 uses the latest version), and request ID for idempotency.

Output shape

A single Lark API response item for each input item.

Returns the API response as JSON. Lark API errors are raised as node errors; with Continue On Fail enabled, an error item is emitted instead.

Links

Discussion