Documentation Index
Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt
Use this file to discover all available pages before exploring further.
PUT /api-keys/
Mit diesem Endpunkt können Sie Name und Beschreibung eines vorhandenen API-Schlüssels ändern.
Pfadparameter
Kennung des zu aktualisierenden API-Schlüssels.
Anfragetext
Neuer Name für den API-Schlüssel (1–100 Zeichen).
Neue Beschreibung für den API-Schlüssel (max. 500 Zeichen).
Neue Berechtigungsliste für den API-Schlüssel.
Antwort
Ob die Aktualisierung erfolgreich war.
Aktualisierte Details des API-Schlüssels.Anzeigen Eigenschaften von apiKey
Eindeutige Kennung des API-Schlüssels.
Aktualisierte Beschreibung.
ISO-8601-Zeitstempel der Aktualisierung.
curl -X PUT https://api.llmgenerator.com/api/v1/api-keys/llm_1706123456_abc123def456 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Production Key",
"description": "Updated description"
}'
{
"success": true,
"message": "API key updated successfully",
"apiKey": {
"id": "llm_1706123456_abc123def456",
"name": "Updated Production Key",
"description": "Updated description",
"permissions": [],
"updatedAt": "2026-01-27T10:00:00.000Z"
}
}