---
title: "Enable kiosk (lock-task) mode"
method: PUT
path: "/devices/{deviceId}/kiosk"
tags: ["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

---

[API](https://skmtc.net/mobilerun/apis/workflows.md) · [All operations](https://skmtc.net/mobilerun/apis/workflows/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobilerun/workflows/revisions/1bc499aa8f99/schema)
