---
title: "UpdateApiKeyBody"
description: "Request body for updating an ApiKey."
section: "Reference"
group: "Types"
order: 16
---

## Definition

```ts
interface UpdateApiKeyBody {
  name?: string | undefined;
}
```

## Fields

| Field  | Type                  | Notes                                              |
| ------ | --------------------- | -------------------------------------------------- |
| `name` | `string \| undefined` | `optional` — New human-readable label for the key. |
