---
title: "exo dedicated-inference api-key revoke"
description: "Revoke AI API key"
url: https://community.exoscale.com/reference/cli/exo/dedicated-inference/api-key/revoke/
section: reference
last_updated: 2026-09-30
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# exo dedicated-inference api-key revoke

### Description

This command revokes AI API keys by ID or name. Revoked keys can no longer be used.

```
exo dedicated-inference api-key revoke ID or NAME...... [flags]
```

### Options

| Option | Description |
| --------- | ------------ |
| `--force, -f` | don&#39;t prompt for confirmation |
| `--help, -h` | help for revoke |
| `--zone, -z` | zone |


### Options inherited from parent commands

| Option | Description |
| --------- | ------------ |
| `--config, -C` | Specify an alternate config file [env EXOSCALE_CONFIG] |
| `--output-format, -O` | Output format (table\|json\|text), see &#34;exo output --help&#34; for more information |
| `--output-template` | Template to use if output format is &#34;text&#34; |
| `--quiet, -Q` | Quiet mode (disable non-essential command output) |
| `--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
| `--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [api-key](https://community.exoscale.com/reference/cli/exo/dedicated-inference/api-key/index.md)	 - Manage AI API keys


