| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/admin/users | PUT | Yes |
Updates an existing user's profile information.
{
"id": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
"name": "John Smith",
"username": "johnsmith",
"isAdmin": true
}
Returns the updated user:
{
"id": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
"name": "John Smith",
"username": "johnsmith",
"isAdmin": true
}
| Status | Reason |
|---|---|
400 | Validation failed (invalid UUID, empty name or username) |
409 | Username already exists (taken by another user) |