POST api/2.0/people/reassign/start
Starts the data reassignment for the user with the ID specified in the request.
Name |
Description |
Type |
Example |
fromUserId
sent in body
|
User ID whose data will be reassigned to another user
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
toUserId
sent in body
|
User ID to whom all the data will be reassigned
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
deleteProfile
sent in body
|
Specifies whether to delete a profile when the data reassignment will be finished or not
|
Bool value
|
true
|
POST api/2.0/people/reassign/start
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"fromUserId": "9924256A-739C-462b-AF15-E652A3B1B6EB",
"toUserId": "9924256A-739C-462b-AF15-E652A3B1B6EB",
"deleteProfile": true
}
application/json
{
"status": 0,
"response": {
"Id": 123124,
"Status": 1,
"Error": "error",
"Percentage": 555.0,
"IsCompleted": false,
"FromUser": "f528a377-b268-4cdb-8209-91d0fa1417c2",
"ToUser": "f528a377-b268-4cdb-8209-91d0fa1417ca"
}
}
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>
<ToUser>f528a377-b268-4cdb-8209-91d0fa1417ca</ToUser>
</response>
</result>