PUT /accounts/profile
This endpoint allows a user to update their profile information.
Request Body
The user’s new first name (1-50 characters).
The user’s new last name (1-50 characters).
The user’s new company name (max 100 characters).
Response
Whether the update was successful.
The updated account details.
The user’s unique identifier.
The updated company name.
ISO 8601 timestamp of the update.
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"
}
}