Get Started
API backend
API system
More information

POST api/2.0/people/reassign/start This function requires authentication

Description

Starts the data reassignment for the user with the ID specified in the request.

Parameters
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
Example
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
}
Returns

Reassignment progress

Example Response

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>