---
title: "Uninstall an app currently installed on the device"
method: POST
path: "/sessions/{sessionId}/device/uninstallApp"
tags: ["Device Interactions"]
---

# Uninstall an app currently installed on the device

`POST /sessions/{sessionId}/device/uninstallApp`

## Request

- Base URL: `https://api.us-west-1.saucelabs.com/rdc/v2`
- URL: `https://api.us-west-1.saucelabs.com/rdc/v2/sessions/{sessionId}/device/uninstallApp`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/docs/sessions/:sessionId/device/uninstallApp/post.ts> (a function with typed inputs; its response is checked against the schema)

Removes an installed app from the device. Requires either a bundleId for iOS or a packageName for Android,
but not both. The request body must contain exactly one of these identifiers.

## Path parameters

- `sessionId` string, required

## Request body

- union: Requires either a 'bundleId' for iOS or a 'packageName' for Android, but not both.
  - object
    - `bundleId` string, required: The bundle identifier of the iOS app to uninstall.
  - object
    - `packageName` string, required: The package name of the Android app to uninstall.

## Response `204`

Command executed successfully

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference.md) - [All operations](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/revisions/f845a4b66e37?raw)
