---
title: "exo ai api-key revoke"
description: "Revoke an AI API key"
url: https://community.exoscale.com/reference/cli/exo/ai/api-key/revoke/
section: reference
last_updated: 2026-10-22
---
> 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 ai api-key revoke

An AI API key can be revoked and will no longer target the On-demand Inference endpoint.
They can be listed during 30 days before getting purged.

```bash
exo ai api-key revoke <name>|<uuid> -z <zone>
```

### Related Commands

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

