---
title: "Enable kiosk (lock-task) mode"
method: PUT
path: "/devices/{deviceId}/kiosk"
tags: ["Tools/Misc"]
---

# Enable kiosk (lock-task) mode

`PUT /devices/{deviceId}/kiosk`

Locks the device to the package named in the request body using Android lock-task (kiosk) mode, preventing the user from leaving the app.

## Path parameters

- `deviceId` string, required

## Headers

- `X-Device-Display-ID` integer

## Request body

- EnableKioskArgs
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `packageName` string, required — Package to lock the device to (Android lock-task mode).

## 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/Misc` 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/kiosk/put.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/a1453ac769d4/schema)
