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

# Uninstall policies

> Remove hook entries from Claude Code's settings

```bash theme={null}
failproofai policies --uninstall [policy-names...] [options]
```

Removes failproofai hook entries from Claude Code's `settings.json`.

Aliases: `failproofai p -u`

## Options

| Flag              | Description                                |
| ----------------- | ------------------------------------------ |
| `--scope user`    | Remove from global settings (default)      |
| `--scope project` | Remove from project settings               |
| `--scope local`   | Remove from local settings                 |
| `--scope all`     | Remove from all scopes at once             |
| `--custom` / `-c` | Clear the `customPoliciesPath` from config |

## Behavior

* **No policy names** - removes all failproofai hook entries from the settings file
* **Specific names** - disables those policies but keeps hooks installed

## Examples

```bash theme={null}
# Remove all hooks globally
failproofai policies --uninstall

# Disable a specific policy (keeps hooks installed)
failproofai policies --uninstall block-sudo

# Remove hooks from every scope
failproofai policies --uninstall --scope all

# Clear custom policies path
failproofai policies --uninstall --custom
```
