change_account
To transfer a unit into a subordinate account and change the unit creator in this account, use the account/change_account command:
svc=account/change_account¶ms={"itemId":<long>,
"resourceId":<long>}
Parameters
The request must contain the following parameters.
Parameter | Description |
---|---|
itemId | Unit ID. |
resourceId | Account ID. |
Response
If migration ends successfully, an empty object is returned.
If some errors occur, the response has the following format:
{
"error":\<uint>
}