---
title: "Rename Api Key"
method: POST
path: "/api/users/api-keys/{key_id}/rename"
tags: ["users"]
---

# Rename Api Key

`POST /api/users/api-keys/{key_id}/rename`

## Request

- Base URL: `https://aiapi-pro.com` (the document declares no server; this is the origin it was published from)
- URL: `https://aiapi-pro.com/api/users/api-keys/{key_id}/rename`
- Auth: HTTP bearer

## Path parameters

- `key_id` string, required

## Request body

- ApiKeyCreate
  - `name` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aiapi-pro/apis/novai-api-platform.md) · [All operations](https://skmtc.dev/aiapi-pro/apis/novai-api-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/aiapi-pro/apis/novai-api-platform/revisions/8aac487185cb?raw)
