> ## 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 item

> Delete a question or other item from a Google Form.

`deleteItem` removes one item selected by stable ID or current display position.

## Example

```ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { deleteItem } from "automate.ax/google-forms"

export default automation("Remove an obsolete question", () => {
  onHttpRequest({ scope: "automation" })

  deleteItem({ form: "form-id", itemReference: "item-id" })
})
```

## Inputs

`form` and `itemReference: string | number` are required; numeric positions are
one-based. `requiredRevisionId` and `account` are optional.

## Output

Returns the complete form after deletion. Prefer immutable IDs when other edits
can change item positions. Deleting a question removes it from future responses;
historical response data may still refer to its question ID.
