PUT api/2.0/people/{userid} This function requires authentication

Description

Updates the data for the selected portal user with the first name, last name, email address, and/or optional parameters specified in the request.

Parameters
Name Description Type Example
userid
sent in url
User ID string some text
UserId
sent in body
User ID string some text
Disable
sent in body
Specifies whether to disable a user or not Bool value true
Example
PUT api/2.0/people/%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "UserId": "some text"
}
Returns

Updated user with the detailed information

Example Response
{
  "status": 0,
  "response": {
    "FirstName": "some text",
    "LastName": "some text",
    "UserName": "some text",
    "Email": "some text",
    "Birthday": "2008-04-10T06-30-00.000Z",
    "Sex": "some text",
    "Status": "Active",
    "ActivationStatus": "NotActivated",
    "Terminated": "2008-04-10T06-30-00.000Z",
    "Department": "some text",
    "WorkFrom": "2008-04-10T06-30-00.000Z",
    "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",
    "MobilePhoneActivationStatus": "NotActivated",
    "IsSSO": true,
    "QuotaLimit": 1234,
    "UsedSpace": 1234
  }
}