Uninstall applications

Command: application

Subcommand: reset

Supported Platforms: Native, UFT, Selenium, Appium

Supported OS: Android, iOS

Uninstalls all applications on the device, returning the device to its initial state. It does not affect applications pre-installed on the device.

Description

It is possible to remove a single application or all applications on the device, returning it to its “out of the box” state. For more information on removing a single application, refer to the Uninstall application.

Parameters

Name Value Default Description
deviceID*     The device for this command.

* Mandatory parameter

Request & Response

Copy

Request

https://mycloud.perfectomobile.com/services/executions/samb@perfectomobile.com_controller_16-11-06_15_24_03_46?operation=command&securityToken=<your_token>&command=application&subcommand=reset&param.deviceId=6370E775
Copy

JSON response

 {
    "reason":"Success",
    "timer.elapsed":"609",
    "returnValue":"OK",
    "testGridReportUrl":"https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=samb@perfectomobile.com_controller_16-11-06_15_24_03_46",
    "description":"Success",
    "timer.system":"16",
    "completed":"true",
    "flowEndCode":"SUCCEEDED",
    "executionId":"samb@perfectomobile.com_controller_16-11-06_15_24_03_46",
    "timer.ux":"593",
    "singleTestReportUrl":"https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161106/controller_16-11-06_15_24_03_46.xml&ownerId=samb@perfectomobile.com&sharingCode=a5ddf904-e458-4851-a36e-311cb47a2f22",
    "reportKey":"PRIVATE:controller/161106/controller_16-11-06_15_24_03_46.xml",
    "timer.device":"593"}