Zum Hauptinhalt springen

PUT /accounts/profile

Mit diesem Endpunkt kann ein Nutzer seine Profildaten aktualisieren.

Anfragetext

firstName
string
Neuer Vorname (1–50 Zeichen).
lastName
string
Neuer Nachname (1–50 Zeichen).
company
string
Neuer Firmenname (max. 100 Zeichen).

Antwort

success
boolean
Ob die Aktualisierung erfolgreich war.
message
string
Statusmeldung.
account
object
Aktualisierte Kontodaten.
curl -X PUT https://api.llmgenerator.com/api/v1/accounts/profile \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Jane",
    "company": "New Company Inc"
  }'
{
  "success": true,
  "message": "Profile updated successfully",
  "account": {
    "id": "user_abc123def456",
    "firstName": "Jane",
    "lastName": "Doe",
    "company": "New Company Inc",
    "updatedAt": "2026-01-27T10:00:00.000Z"
  }
}