> ## 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.

# Gỡ cài đặt chính sách

> Xoá các mục hook từ cài đặt Claude Code

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

Xoá các mục hook của failproofai từ `settings.json` của Claude Code.

Bí danh: `failproofai p -u`

## Các tùy chọn

| Cờ                | Mô tả                                  |
| ----------------- | -------------------------------------- |
| `--scope user`    | Xoá từ cài đặt toàn cục (mặc định)     |
| `--scope project` | Xoá từ cài đặt dự án                   |
| `--scope local`   | Xoá từ cài đặt cục bộ                  |
| `--scope all`     | Xoá từ tất cả các phạm vi cùng một lúc |
| `--custom` / `-c` | Xoá `customPoliciesPath` khỏi cấu hình |

## Hành vi

* **Không có tên chính sách** - xoá tất cả các mục hook của failproofai khỏi tệp cài đặt
* **Tên cụ thể** - vô hiệu hoá những chính sách đó nhưng giữ lại các hook đã cài đặt

## Ví dụ

```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
```
