POST
/api/keys
Create API key
Generates a new API key. The full key is only returned once at creation time.
curl -s -X POST "$BASE/api/keys" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "My New Key"}'Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| name | string | N | — | Human-readable key name |