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

# monid keys remove

> Remove an API key from your local credential store.

Remove an API key from your local credential store.

## Usage

```bash theme={null}
monid keys remove --label <name> [--force] [--json]
```

## Flags

| Flag                  | Type    | Required | Description                |
| --------------------- | ------- | -------- | -------------------------- |
| `-l, --label <label>` | string  | Yes      | Label of the key to remove |
| `--force`             | boolean | No       | Skip confirmation prompt   |
| `-j, --json`          | boolean | No       | Output raw JSON            |

## Behavior

* If the removed key was the active key, it's deactivated
* This only removes the key locally — it does not revoke the key on the server

<Tip>
  To revoke a key on the server (so it can no longer be used for API calls), use the [Monid web app](https://app.monid.ai/access/api-keys).
</Tip>
