Update User By Id
PUT /v1/user/:id
Updates an existing user by identifier. Validates the provided changes, persists them, and returns the full, updated user resource.
Request Body
{
"firstname": "Ola",
"lastname": "Nordmann",
"username": "Ola@nordmann.com"
}
Response Example
{
"firstname": "Ola",
"lastname": "Nordmann",
"username": "ola@nordmann.com",
"factors": [
{
"type": "mail",
"value": "ola@nordmann.com",
"_id": "factor-id-1"
}
],
"role": "user",
"tenant": "tenant-id-1",
"status": {
"active": true
},
"type": "user",
"_id": "user-id-1",
"created": "2025-11-03T14:45:00.011Z",
"updated": "2025-11-03T14:46:51.606Z",
"__v": 0,
"id": "user-id-1"
}