Updates the data for the selected portal user with the first name, last name, email address, and/or optional parameters specified in the request.
Name | Description | Type | Example |
userid
sent in url
|
User ID | string | some text |
UserId
sent in body
|
User ID | System.String | |
Disable
sent in body
|
Specifies whether to disable a user or not | System.Nullable{System.Boolean} |
PUT api/2.0/people/%22some+text%22 Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "UserId": "some text" }
Updated user with the detailed information
{ "status": 0, "response": { "FirstName": "some text", "LastName": "some text", "UserName": "some text", "Email": "some text", "Sex": "some text", "Status": "Active", "ActivationStatus": "NotActivated", "Department": "some text", "Location": "some text", "Notes": "some text", "AvatarMax": "some text", "AvatarMedium": "some text", "Avatar": "some text", "IsAdmin": true, "IsRoomAdmin": true, "IsLDAP": true, "ListAdminModules": [ "some text" ], "IsOwner": true, "IsVisitor": true, "IsCollaborator": true, "CultureName": "some text", "MobilePhone": "some text", "IsSSO": true, "QuotaLimit": 1234 } }