Create an Uninstall App Task on a Device


POST /api/v2/devices/997512397/tasks
{
  "data": {
    "type": "tasks",
    "attributes": {
      "type": "UNINSTALL_APP",
      "app_id": "60d0a5eb31eddd285865a784"
    }
  }
}

RESPONSE:

{
  "data": {
    "id": "60d0dc1631eddd4bc3b5ac66",
    "type": "tasks",
    "attributes": {
      "function": "UNINSTALL_APP",
      "created_at": "2021-06-21T18:36:06.295Z",
      "state": "queued",
      "app_id": "60d0dc1631eddd4bc3b5ac5d",
      "app": {
        "name": "app_60196004",
        "version": "0.3.7",
        "config_ids": null,
        "id": "60d0dc1631eddd4bc3b5ac5d"
      }
    }
  }
}