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

# glasser keys remove

> 从本机移除 API Key。

## 用法

```bash theme={null}
glasser keys remove -l <label>
```

从本机移除 API Key，不会撤销其权限；如需撤销，请在控制台操作。

## 选项

| 选项 | 说明 |
| - | - |
| `--label, -l` | API Key 的唯一标签 |
| `--force` | 跳过确认提示，使用 --json 时必填 |

JSON 模式无法请求确认。在脚本中同时使用这两个选项：

```bash theme={null}
glasser keys remove -l <label> --json --force
```

全局选项、JSON 模式、退出码和环境变量见 [CLI 约定](https://glasser.ai/docs/zh/cli.md#global-flags)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.