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

Description

Sets the required activation status to the list of users with the IDs specified in the request.

Parameters
Name Description Type Example
activationstatus
sent in url
Activation status NotActivated, Activated, Pending, AutoGenerated NotActivated
UserIds
sent in body
List of user IDs Collection of guids
collection
9924256A-739C-462b-AF15-E652A3B1B6EB
ResendAll
sent in body
Specifies whether to resend invitation letters to all the users or not Bool value true
Example
PUT api/2.0/people/activationstatus/%22NotActivated%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "UserIds": [
    "9924256A-739C-462b-AF15-E652A3B1B6EB"
  ],
  "ResendAll": true
}
Returns

List of users 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
    }
  ]
}