Category Filter
Enable Lost Mode
Enable Lost Mode on supervised iOS, Windows, and Android devices if they are lost or stolen.
| Argument | Type | Description | 
|---|---|---|
| users | Array | Optional. IDs of the users | 
| usergroups | Array | Optional. IDs of the user groups | 
| devices | Array | Optional. IDs of the devices | 
| devicegroups | Array | Optional. IDs of the device groups | 
| message | String | Optional. Add a message to display on the device screen. | 
| phone_number | String | Optional. Add a phone number. | 
| footnote | String | Optional. Add a footnote to be displayed on the device. | 
Note: Device will send its location coordinates if scan device location action is initiated for Lost Mode-enabled devices.
curl
HTTP Request:
		
		
			
			
			
			
				
					
			
		
Shell Command:
		
		
			
			
			
			
				
					
			
		
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14  | 
						POST https://<portal>.hexnodemdm.com/api/v1/actions/enable_lostmode/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "users":[0], "usergroups":[4], "devices":[5,6], "devicegroups":[12], "message": "sample message",  "phone_number": 4167729912,  "footnote": "sample footnote"  }]  | 
					
Shell Command:
| 
					 1  | 
						curl  -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{"users":[0],"usergroups":[4],"devices":[5,6],"devicegroups":[12],"message": "sample message", "phone_number": 4167729912, "footnote": "sample footnote"}' https://<portal>.hexnodemdm.com/api/v1/actions/enable_lostmode/  | 
					
HTTP Response:
		
		
			
			
			
			
				
					
			
		
| 
					 1  | 
						HTTP/1.1 200 ok  |