> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateApiKeyInput

> Holds a new tenant-level API key for a given API.



**Kind**: `input`

## Fields

**`apiId`**: `String!` (required)

Id of the API the key is for. For the tenant API, use `createTenantApiKey`, which fills it in.

---

**`name`**: `String!` (required)

Name of the key.

---

**`scopeIds`**: `[String!]!` (required)

Raw ids of the scopes the key gets (the raw id inside `Scope.id`).



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.