> ## Documentation Index
> Fetch the complete documentation index at: https://exosphere-auto-translate-docs-20260626-1023.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Gỡ cài đặt policies

> Xóa hook entries từ settings của Claude Code

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

Xóa các hook entries của failproofai từ `settings.json` của Claude Code.

Alias: `failproofai p -u`

## Options

| Flag              | Description                          |
| ----------------- | ------------------------------------ |
| `--scope user`    | Xóa từ global settings (mặc định)    |
| `--scope project` | Xóa từ project settings              |
| `--scope local`   | Xóa từ local settings                |
| `--scope all`     | Xóa từ tất cả scopes cùng một lúc    |
| `--custom` / `-c` | Xóa `customPoliciesPath` khỏi config |

## Behavior

* **Không có tên policy** - xóa tất cả failproofai hook entries từ settings file
* **Tên cụ thể** - vô hiệu hóa những policies đó nhưng giữ lại hooks đã cài đặt

## Examples

```bash theme={null}
# Xóa tất cả hooks toàn cục
failproofai policies --uninstall

# Vô hiệu hóa một policy cụ thể (giữ lại hooks đã cài đặt)
failproofai policies --uninstall block-sudo

# Xóa hooks từ mọi scope
failproofai policies --uninstall --scope all

# Xóa đường dẫn custom policies
failproofai policies --uninstall --custom
```
