org.move

The org.move command is used to move an organization.

 Requires Org Admin rights.

TR50 Request

{
  "cmd": {
    "command": "org.move",
    "params": {
      "key": "DEMO",
      "parentKey": "SYSTEM"
    }
  }
}

Request Parameters

Name Type Required Description
key String The key identifying the organization to move. Defaults to the current session's org.
parentKey String Yes The key identifying the new parent organization.

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.

{
  "cmd": {
    "success": true
  }
}