Skip to content

Uninstall App

Request

Uninstall an app from a Cloud Phone.

  • Preconditions: the phone must be powered on and not held by another member.
  • Effect: dispatches the uninstall and updates the installation record for the phone.
  • Completion: the response confirms the request was accepted. Verify with /cloudphone/app/installedList.

Documented business errors: 33300, 33301. See Error Codes for what each code means. Any operation can additionally return the common codes.

Bodyapplication/json
idstring

Cloud phone ID

packageNamestring

App package name

curl -i -X POST \
  http://127.0.0.1:40000/api/cloudphone/app/uninstall \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "0",
    "packageName": ""
  }'

Responses

Success. data is a single boolean value.

Headers
any
Bodyapplication/json
codeinteger

Response code: 0 = success, >0 = error

databoolean
msgstring or null

Message; populated if code > 0

requestIdstring

Unique request identifier; include it when contacting support

Response
{ "code": 0, "data": true, "msg": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }