---
title: "Manage AI Router API keys"
sidebar_label: "Manage API keys"
sidebar_position: 2
description: "How to create an API key, change its limit, disable, or delete an API key"
---

import Formbricks from '@theme/MDXComponents/Formbricks';
import CheckIcon from '@selectel/docux/icons/check'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'

# Manage AI Router API keys

Authorized access to the AI Router is provided via API keys. When [creating an AI Router](/ai-router/manage/create-ai-router.mdx), one API key is created automatically.

You can [add additional API keys](#add), [rename](#rename) them, temporarily [disable](#disable) and [delete](#delete) them. You can also [change API key limits](/ai-router/manage/limits.mdx#change-api-key-limit). For more information about limits, see the [Managing AI Router limits](/ai-router/manage/limits.mdx) instruction.

## Add an API key \{#add}

1. In the [Control panel](https://my.selectel.ru/ml/default/ai-router), on the top menu, click **Products** and select **AI Router**.
2. In the **AI Router** section, open the AI Router page → tab **Keys and Limits**.
3. Click **Add key**.
4. Enter a name for the key.
5. Click **Create**. You can view the API key only once after creation—copy and save it.

## Rename API key \{#rename}

1. In the [Control panel](https://my.selectel.ru/ml/default/ai-router), on the top menu, click **Products** and select **AI Router**.
2. In the **AI Router** section, open the AI Router page → tab **Keys and Limits**.
3. In the key <MoreVerticalIcon /> menu, select **Rename**.
4. Enter a new key name.
5. Click <CheckIcon />.

## Disable API key \{#disable}

1. In the [Control panel](https://my.selectel.ru/ml/default/ai-router), on the top menu, click **Products** and select **AI Router**.
2. In the **AI Router** section, open the AI Router page → tab **Keys and limits**.
3. In the key row, in the **Status** field, turn off the toggle.

## Delete API key \{#delete}

1. In the [Control panel](https://my.selectel.ru/ml/default/ai-router), on the top menu, click **Products** and select **AI Router**.
2. In the **AI Router** section, open the AI Router page → tab **Keys and limits**.
3. In the key <MoreVerticalIcon /> menu, click **Delete**.
4. Enter the key name to confirm.
5. Click **Delete**.

<Formbricks />
