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
|
System.Guid
|
|
ToUserId
sent in body
|
User ID to whom all the data will be reassigned
|
System.Guid
|
|
DeleteProfile
sent in body
|
Specifies whether to delete a profile when the data reassignment will be finished or not
|
System.Boolean
|
|
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": {
"FromUser": "9924256A-739C-462b-AF15-E652A3B1B6EB",
"ToUser": "9924256A-739C-462b-AF15-E652A3B1B6EB"
}
}
text/xml
<result>
<status>0</status>
<response>
<FromUser>9924256A-739C-462b-AF15-E652A3B1B6EB</FromUser>
<ToUser>9924256A-739C-462b-AF15-E652A3B1B6EB</ToUser>
</response>
</result>