> For the complete documentation index, see [llms.txt](https://doc.bodinat.de/doc/deepl/llms.txt)

# Create a developer key as an admin

> POST /v2/admin/developer-keys



## Servers
- DeepL API Pro: https://api.deepl.com (DeepL API Pro)
- DeepL API Free: https://api-free.deepl.com (DeepL API Free)


## Authentication methods
- Auth header


## Parameters



### Body: application/json (object)

- **label** (string)
  API key label. The default value is `DeepL API Key`.



## Responses
### 200
The create function returns a JSON representation of the created API key.
#### Headers

- **X-Trace-ID** ()


#### Body: application/json (object)
- **key_id** (string)
  API key ID. Consists of two valid GUIDs separated by a colon.

- **label** (string)
  API key label. The default value is `DeepL API Key`.

- **creation_time** (string)
  Timestamp when the key was created (ISO 8601 format)

- **deactivated_time** (string)
  Timestamp when the key was deactivated (ISO 8601 format). The default value is `null`.

- **is_deactivated** (boolean)
  Flag indicating whether the API key is deactivated. The default value is `false`.

- **usage_limits** (object)
  Usage limits for the API key.


### 400
Bad request. Please check error message and your parameters.
#### Headers

- **X-Trace-ID** ()


### 403
Authorization failed. Please supply a valid `DeepL-Auth-Key` via the `Authorization` header.
#### Headers

- **X-Trace-ID** ()


### 404
The requested resource could not be found.
#### Headers

- **X-Trace-ID** ()


### 500
Internal error.
#### Headers

- **X-Trace-ID** ()



[Powered by Bump.sh](https://bump.sh)
