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

# ravion api-key

> Create, list, rotate, and delete Ravion API keys used by service accounts and automation tools from the `ravion api-key` CLI command group.

## `ravion api-key`

Manage API keys

**Aliases:** `api-keys`

### `ravion api-key delete`

Delete ApiKey

```bash theme={null}
ravion api-key delete <id> [flags]
```

**Flags:**

| Flag        | Required | Description              |
| ----------- | -------- | ------------------------ |
| `-y, --yes` |          | skip confirmation prompt |

### `ravion api-key get`

Get ApiKey by id

```bash theme={null}
ravion api-key get <id> [flags]
```

**Flags:**

| Flag     | Required | Description           |
| -------- | -------- | --------------------- |
| `--json` |          | emit response as JSON |

### `ravion api-key list`

List ApiKeys

```bash theme={null}
ravion api-key list [flags]
```

**Flags:**

| Flag                    | Required | Description                                                                                                |
| ----------------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| `--cursor <string>`     |          | cursor                                                                                                     |
| `--json`                |          | emit response as JSON                                                                                      |
| `--limit <int>`         |          | limit                                                                                                      |
| `--owner-id <string>`   |          | Optional owner id filter. Must be provided with ownerType.                                                 |
| `--owner-type <string>` |          | Optional owner type filter. Must be provided with ownerId. Available values: MEMBERSHIP, SERVICE\_ACCOUNT. |
| `-v, --verbose`         |          | show full output                                                                                           |

### `ravion api-key update`

Patch ApiKey

```bash theme={null}
ravion api-key update <id> [flags]
```

**Flags:**

| Flag                     | Required | Description                                             |
| ------------------------ | -------- | ------------------------------------------------------- |
| `--description <string>` |          | Optional context for where or why this API key is used. |
| `--json`                 |          | emit response as JSON                                   |
| `--name <string>`        |          | User-facing label for the API key.                      |
