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

Description

Deletes a user with the ID specified in the request from the portal.

Parameters
Name Description Type Example
userid
sent in url
User ID string some text
Example
DELETE api/2.0/people/%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Deleted user detailed information

Example Response

application/json

{
  "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,
    "IsLDAP": true,
    "ListAdminModules": [
      "some text"
    ],
    "IsOwner": true,
    "IsVisitor": true,
    "IsCollaborator": true,
    "CultureName": "some text",
    "MobilePhone": "some text",
    "IsSSO": true,
    "QuotaLimit": 1234
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <FirstName>some text</FirstName>
    <LastName>some text</LastName>
    <UserName>some text</UserName>
    <Email>some text</Email>
    <Sex>some text</Sex>
    <Status>Active</Status>
    <ActivationStatus>NotActivated</ActivationStatus>
    <Department>some text</Department>
    <Location>some text</Location>
    <Notes>some text</Notes>
    <AvatarMax>some text</AvatarMax>
    <AvatarMedium>some text</AvatarMedium>
    <Avatar>some text</Avatar>
    <IsAdmin>True</IsAdmin>
    <IsLDAP>True</IsLDAP>
    <ListAdminModules>[
  "some text"
]</ListAdminModules>
    <IsOwner>True</IsOwner>
    <IsVisitor>True</IsVisitor>
    <IsCollaborator>True</IsCollaborator>
    <CultureName>some text</CultureName>
    <MobilePhone>some text</MobilePhone>
    <IsSSO>True</IsSSO>
    <QuotaLimit>1234</QuotaLimit>
  </response>
</result>