> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Delete record

> Permanently delete one Airtable record by ID.

`deleteRecord` permanently removes one Airtable record and returns Airtable's
deletion receipt.

## Example

```ts automations/delete-airtable-record.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { deleteRecord } from "automate.ax/airtable"

export default automation("Delete an Airtable record", () => {
  onHttpRequest({ scope: "automation" })
  deleteRecord({ base: "CRM", table: "Leads", recordId: "rec123" })
})
```

## Inputs

| Input      | Type                                                | Required | Default         | Description                        |
| ---------- | --------------------------------------------------- | -------- | --------------- | ---------------------------------- |
| `base`     | `string`                                            | Yes      | —               | Exact base name or stable ID.      |
| `table`    | `string`                                            | Yes      | —               | Table name or stable ID.           |
| `recordId` | `string`                                            | Yes      | —               | Stable ID of the record to delete. |
| `account`  | `string \| IntegrationAccountReference<"airtable">` | No       | Project default | Connected Airtable account.        |

## Output

Returns `{ deleted: true; id: string }`, where `id` is the deleted record ID.

<Warning>Deleting an Airtable record is permanent.</Warning>
