Update User
/users/{id}
Update User [PUT]
Update an existing user.
Authorization: Admin
Request
Body {
"firstName": "Homer",
"lastName": "Simpson",
"rowStatus": 1,
"userName": "homer.simpson@nuclearplant.com",
"emailUser": true,
"autoGeneratePassword": false,
"password": "secret",
"passwordConfirmation": "secret",
"optInNewsletter": true,
"roleIds": [1, 3, 4],
"teamIds": [68, 10, 2]
}
Response 200
Body
{
"item": {
"id": 240,
"firstName": "Homer",
"lastName": "Simpson",
"userName": "homer.simpson@nuclearplant.com",
"createdAt": "2014-05-09T13:41:43.293",
"createdBy": 3890,
"rowStatus": 1,
"timeZoneId": 4,
"modifiedAt": "2014-05-09T13:41:43.293",
"roleIds": [1, 3, 4],
"teamIds": [68, 10, 2]
}
}