---
url: https://docs.mochiexec.io/reference/cli/mochi_trust_rule_remove.md
description: Remove the rule with a pattern
---

# mochi trust rule remove

Remove the rule with a pattern

```shell
mochi trust rule remove <workspace> <pattern> [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for remove |
| `-o, --output` | `string` | Output format: text or json (default "text") |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi trust rule](mochi_trust_rule.md) — Allow or ask for specific tasks within a workspace
