Actions56
- 自定义 API 请求 Actions
- 应用授权 Actions
- 文档 Actions
- AI表格 Actions
- 机器人 Actions
- 待办任务 Actions
- 用户管理 Actions
- 表格 Actions
- OA审批 Actions
AI表格 → 删除多行记录
AI-generatedSummary
删除 AI 表格数据表中的多行记录
Inputs
- baseId (required) — AI 表格 ID,可通过‘解析URL’操作从分享链接获取
- sheetIdOrName (required) — 数据表 ID 或名称,支持从列表选择、直接填 ID 或从 URL 提取
- overrideOperator — 不使用凭证中的操作人,手动设置操作人unionId。默认 false
- operatorId — 操作人的unionId。当 overrideOperator 为 true 时必填,否则从凭据 dingtalkApi 的 userUnionId 读取
- sendBody — 如何发送请求体数据,'form' 使用下面定义的表单,'json' 使用 JSON 字符串。默认 'form'
- recordIds — 要删除的记录ID列表,多个参数请用','分隔。支持表达式和固定值。当 sendBody 为 'form' 时生效
- jsonBody — 请求体JSON数据。当 sendBody 为 'json' 时生效,默认包含 recordIds 示例
Output shape
{ json: any }
API响应体的JSON对象,具体结构取决于钉钉 AI 表格删除记录接口返回
Examples
Example 1: 通过表单模式删除指定记录
baseId: 'yourBaseId', sheetIdOrName: 'yourSheet', sendBody: 'form', recordIds: 'rec001, rec002'
Example 2: 通过JSON模式删除记录
baseId: 'yourBaseId', sheetIdOrName: 'yourSheet', sendBody: 'json', jsonBody: '{