---
title: "Stop app"
method: PATCH
path: "/devices/{deviceId}/apps/{packageName}"
tags: ["Tools/Apps"]
---

# Stop app

`PATCH /devices/{deviceId}/apps/{packageName}`

Force-stops the app identified by the path package name. When clearData is set in the request body, the app's data is also cleared. Protected packages cannot be stopped.

## Path parameters

- `deviceId` string, required
- `packageName` string, required

## Headers

- `X-Device-Display-ID` integer

## Request body

- StopAppArgs
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `clearData` boolean — If true, clears all app data (pm clear) in addition to stopping the app.

## Response `204`

No Content

## Other responses

- `default` — Error

## Changes

- **2026-08-01** `cd80ab1b29b0` — 1 info
  - endpoint added
- **2026-08-01** `3183ec3153d1` — 1 breaking
  - api path removed without deprecation
- **2026-07-07** `d5d1e5ee8188` — 2 info
  - api tag `Tools/Apps` added
  - api tag `Tools` removed
- **2026-06-29** `3cb3612f45e0` — 1 info
  - endpoint added
- **2026-06-29** `8ea6db3daeac` — 1 breaking
  - api path removed without deprecation

[Full history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/devices/:deviceId/apps/:packageName/patch.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) · [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/droidrun/droidrun-cloud/revisions/cd80ab1b29b0/schema)
