---
title: "axiom flow mock rm"
description: "Remove a node's mock (or --all) from the mocks: section"
category: reference
surfaces: [cli]
related: [reference/cli/axiom-flow-mock]
last_reviewed: 2026-06-06
---

<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT.
     Source of truth: the cobra command definitions in cmd/axiom/cmd/.
     Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

# axiom flow mock rm

Remove a node's mock (or --all) from the mocks: section

## Usage

```sh
axiom flow mock rm [<alias>] [flow.yaml] [flags]
```

## Flags

| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
| `--all` |  | bool |  | Remove every mock |
| `--help` | `-h` | bool |  | help for rm |

## See also

- [axiom flow mock](./axiom-flow-mock.md) — Manage the flow's authoring mocks (ADR-176)
