POST api/2.0/people/remove/start
Starts the data deletion for the user with the ID specified in the request.
Name |
Description |
Type |
Example |
userId
sent in body
|
User ID
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
POST api/2.0/people/remove/start
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"userId": "9924256A-739C-462b-AF15-E652A3B1B6EB"
}
application/json
{
"status": 0,
"response": {
"Id": 123124,
"Status": 1,
"Error": "error",
"Percentage": 555.0,
"IsCompleted": false,
"FromUser": "f528a377-b268-4cdb-8209-91d0fa1417c2"
}
}
text/xml
<result>
<status>0</status>
<response>
<Id>123124</Id>
<Status>1</Status>
<Error>error</Error>
<Percentage>555</Percentage>
<IsCompleted>False</IsCompleted>
<FromUser>f528a377-b268-4cdb-8209-91d0fa1417c2</FromUser>
</response>
</result>