> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 删除数据表

## 指令说明

**描述：** 删除一个数据表，最后一张数据表不允许删除

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/oMGzRtmKPLqq2VoW/helpcenter/commands/feishu/images/deletelarkbitabledatatablecommand-01.png?fit=max&auto=format&n=oMGzRtmKPLqq2VoW&q=85&s=f8919a6b06c8c9a1dfac49eb016b3561" alt="删除数据表指令参数面板" width="657" height="359" data-path="helpcenter/commands/feishu/images/deletelarkbitabledatatablecommand-01.png" />

    | 参数          | 说明                         |
    | ----------- | -------------------------- |
    | **多维表格对象**  | 请选择通过“连接飞书多维表格”指令产生的多维表格对象 |
    | **数据表定位方式** | 选择定位方式，可以通过名称或ID来指定待操作的数据表 |
    | **数据表ID**   | 请输入要删除的数据表ID               |
    | **数据表名称**   | 请输入要删除的数据表名称               |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/oMGzRtmKPLqq2VoW/helpcenter/commands/feishu/images/deletelarkbitabledatatablecommand-02.png?fit=max&auto=format&n=oMGzRtmKPLqq2VoW&q=85&s=56bcf887b5040759faf84597ce08c6f1" alt="删除数据表使用示例 - 流程搭建" width="911" height="270" data-path="helpcenter/commands/feishu/images/deletelarkbitabledatatablecommand-02.png" />

**该流程执行逻辑：**

使用【获取飞书访问凭证】获取飞书访问凭证，并将其保存至飞书访问凭证中

使用【连接飞书多维表格】根据网址连接到指定的飞书多维表格

使用【获取数据表】获取该多维表格下的所有数据表：数据表1，数据表2和新增数据表

使用【删除数据表】删除名称为新增数据表的数据表

使用【获取数据表】获取该多维表格下的所有数据表：数据表1和数据表2，新增数据表被删除

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/oMGzRtmKPLqq2VoW/helpcenter/commands/feishu/images/deletelarkbitabledatatablecommand-03.png?fit=max&auto=format&n=oMGzRtmKPLqq2VoW&q=85&s=11ca196a2c187a608c502a86a97bfa54" alt="删除数据表使用示例 - 效果展示" width="963" height="279" data-path="helpcenter/commands/feishu/images/deletelarkbitabledatatablecommand-03.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
