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

# Storage: Delete all items

> Deletes all items in a storage.

export const FormField = ({property, label, required = false, diType, uiPatterns, children}) => {
  const patterns = Array.isArray(uiPatterns) ? uiPatterns : uiPatterns ? [uiPatterns] : [];
  return <div style={{
    margin: '1.5rem 0'
  }}>
      <div style={{
    display: 'flex',
    alignItems: 'baseline',
    flexWrap: 'wrap',
    gap: '0.5rem',
    marginBottom: '0.25rem'
  }}>
        <strong>{label}</strong>
        <span style={{
    fontSize: '0.7rem',
    fontWeight: 600,
    textTransform: 'uppercase',
    letterSpacing: '0.04em',
    color: required ? '#6241f5' : '#6b7280'
  }}>
          {required ? 'Required' : 'Optional'}
        </span>
      </div>

      <div>{children}</div>

      {diType || patterns.length > 0 ? <p style={{
    fontSize: '0.85rem',
    color: '#6b7280',
    marginBottom: 0
  }}>
          {diType ? <>
              See the <a href={`/references/${diType}`}>{diType}</a> reference.{' '}
            </> : null}
          {patterns.length > 0 ? <>
              Accepts a <a href={`/documentation/placeholders-and-patterns/patterns#${patterns[0]}`}>pattern</a>.
            </> : null}
        </p> : null}
    </div>;
};

Empties a storage completely, permanently removing every item it holds. Use it to start a run from a clean slate, for example clearing a lookup table or a set of staged records before you fill it again. There is nothing to target and nothing to undo: every item in the chosen storage is deleted, the action is permanent, and it cannot be reversed if the run later fails. For that reason, place it carefully, typically at the very start of a run, and make sure it points at the right storage. This affects only the chosen storage; the data flowing through your transformation is passed along unchanged.

This documentation describes: [Schema](/schemas/transformer/storage-truncate-storage)

## Fields

<FormField property="storage" label="Storage" required diType="storage">
  The storage to empty. Every item it holds is deleted. See [Storage](/references/storage) for how to set one up.
</FormField>

## Sample data

This transformer empties the storage as a side effect and does not alter the data passing through it, so there is no before/after to show. There are no other settings: point it at the storage you want to clear, and every item in that storage is deleted.

| Field   | Value                |
| ------- | -------------------- |
| Storage | A configured storage |

```json Configuration theme={null}
{
  "prototype": "storage-truncate-storage",
  "parameters": {
    "storage": { "prototype": "storage", "parameters": {} }
  }
}
```
