rotate_api_key – API-Key erneuern

Erzeugt einen neuen API-Key; der alte wird sofort ungültig.

HTTP
POST /api/me/rotate-key
Zugang
Konto (API-Key) nötig
Bereich
Konto
Nur lesend
nein

Du bist nicht angemeldet. Anmelden

Formular

Eingabeschema (JSON Schema)

{
    "type": "object",
    "properties": {}
}

REST

curl -X POST https://anltx.com/api/me/rotate-key \
  -H "Authorization: Bearer $ANLTX_KEY" \
  -H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \
  -d '{}'

MCP

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "rotate_api_key",
        "arguments": {}
    }
}

Alle Werkzeuge