Configure a new Windows Lockdown (Kiosk) Policy

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Store Windows Kiosk payload's Meta Data

Endpoints

Request URL

https://{server-hostname}:8383/api/mdm/profiles/lockdown

Scope

MDMDeviceMgmt.CREATECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

Content-TypestringMandatory
application/jsonapplication/jsonCopied!
AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Request Body

application/json
JSON Object
Hide Sub-Attributes
policy_namestringMandatory

Name of the lockdown policy

policy_descstringOptional

Description for the lockdown policy

allowed_appsJSON ArrayOptional

List of apps allowed in Kiosk mode

Show Sub-Attributes
JSON Object
Show Sub-Attributes
app_identifierstringOptional

Identifier / Path of the App to be allowed in Kiosk

app_typestringOptional

Type of the App 1 - Modenr App (UWP), 2 - Legacy (Win32)

is_background_appstringOptional

Whether the App is Foreground or Background

configurationJSON ObjectOptional

Configuration settings for the lockdown policy

Show Sub-Attributes
associated_userstringMandatory

User account name for whom Kiosk mode is enabled

create_userbooleanOptional

Automatically create the associated user account on the device (kioskuser0). Default: true

auto_logon_appstringOptional

AUMID / Folder path of the app launched automatically at user login

kiosk_typeintegerOptional

Kiosk mode type. 1 - Multi-app, 2 - Single-app, 3 - Edge browser

explorer_restrictionintegerOptional

File Explorer access restriction level. 1 - Complete, 2 - Downloads only, 3 - Removable only, 4 - Downloads and Removable, 5 - No restriction

show_taskbarbooleanOptional

Show the Taskbar in Multi-app Kiosk mode (Not applicable to windows 11). Default: true

edge_configurationJSON ObjectOptional

Edge browser kiosk configuration

Show Sub-Attributes
home_page_urlsJSON ArrayOptional

List of home page URLs for Edge browser kiosk

Show Sub-Attributes
JSON Object
Show Sub-Attributes
home_page_url_idlongOptional

ID from the Response of [WebClip API]

edge_idle_timeoutintegerOptional

Idle timeout in minutes before Edge browser resets

edge_kiosk_typeintegerOptional

Edge kiosk type. 1 - Digital Signage, 2 - Public Browsing. Default: 2

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
  --url https://appdomain/api/mdm/profiles/lockdown \
  --header 'Accept: application/json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'Content-Type: application/json' \
  --data '{"policy_desc":"test desc","configuration":{"show_taskbar":true,"auto_distribute_apps":true,"auto_logon_app":"Microsoft.WindowsCamera_8wekyb3d8bbwe!App","kiosk_type":"1","create_user":true,"associated_user":"Kiosk","explorer_restriction":"5"},"allowed_apps":[{"app_type":"1","app_identifier":"Microsoft.WindowsCamera_8wekyb3d8bbwe!App","is_background_app":false},{"app_type":"2","app_identifier":"%windir%\\system32\\calc.exe","is_background_app":false},{"app_type":"2","app_identifier":"%windir%\\system32\\cmd.exe","is_background_app":true}],"policy_name":"test lockdown policy"}'

Sample Request Body

Create a Windows Lockdown (Multi App Kiosk) Policy

Copied!
  {
    "policy_desc": "test desc",
    "configuration": {
      "show_taskbar": true,
      "auto_distribute_apps": true,
      "auto_logon_app": "Microsoft.WindowsCamera_8wekyb3d8bbwe!App",
      "kiosk_type": "1",
      "create_user": true,
      "associated_user": "Kiosk",
      "explorer_restriction": "5"
    },
    "allowed_apps": [
      {
        "app_type": "1",
        "app_identifier": "Microsoft.WindowsCamera_8wekyb3d8bbwe!App",
        "is_background_app": false
      },
      {
        "app_type": "2",
        "app_identifier": "%windir%\\system32\\calc.exe",
        "is_background_app": false
      },
      {
        "app_type": "2",
        "app_identifier": "%windir%\\system32\\cmd.exe",
        "is_background_app": true
      }
    ],
    "policy_name": "test lockdown policy"
  }
                
Show full

Create a Single App Profile

Copied!
  {
    "policy_desc": "test desc",
    "configuration": {
      "kiosk_type": "2",
      "create_user": true,
      "associated_user": "Kiosk"
    },
    "allowed_apps": [
      {
        "app_type": "1",
        "app_identifier": "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App",
        "is_background_app": false
      }
    ],
    "policy_name": "test lockdown policy"
  }
                
Show full

Create a Single App Edge Kiosk Profile

Copied!
  {
    "policy_desc": "test desc",
    "configuration": {
      "kiosk_type": "3",
      "create_user": true,
      "associated_user": "Kiosk",
      "edge_configuration": {
        "edge_kiosk_type": "1",
        "home_page_urls": [
          {
            "home_page_url_id": "1"
          }
        ],
        "edge_idle_timeout": 0
      }
    },
    "allowed_apps": [
      {
        "app_type": "2",
        "app_identifier": "%ProgramFiles(x86)%\\Microsoft\\Edge\\Application\\msedge.exe",
        "is_background_app": false
      }
    ],
    "policy_name": "test lockdown policy"
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
policy_idstring

Unique ID of the newly created lockdown policy

policy_namestring

Name of the created lockdown policy

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Lockdown policy successfully created

Copied!
  {
    "policy_id": "9007199254741005",
    "policy_name": "test lockdown policy"
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.