On August 11, 2023, Cisco announced that Cisco SecureX will go end-of-life on July 31, 2024. The content in this Github repository will not be actively maintained following this announcement.

Lock Mobile Device

Workflow #0047

Response Workflow

This workflow locks a Jamf-managed mobile device. Supported observables: mac_address, hostname, ip


Change Log

Date Notes
Oct 11, 2021 - Initial release
Sep 7, 2022 - Minor updates to naming and descriptions

See the Important Notes page for more information about updating workflows


Workflow Steps

  1. Make sure the observable is supported
  2. Search for a matching mobile device in Jamf
  3. Extract the mobile device’s ID
  4. If extraction was successful, execute the command on the device


  • Set the Lock Message local variable to the message to display on the locked device
  • If you want to change the name of this workflow in the pivot menu, change its display name


Target Group: Default TargetGroup

Target Name Type Details Account Keys Notes
Jamf Pro HTTP Endpoint Protocol: HTTPS
Host: your-instance.jamfcloud.com
Port: 443
Path: None
Jamf Pro Credentials  

Account Keys

Account Key Name Type Details Notes
Jamf Pro Credentials HTTP Basic Authentication Username: Jamf API Username
Password: Jamf API Password
Must have correct permissions depending on actions being performed