Shut Down Device
Remotely and immediately shut down a device.
URL
PUT https://yourmdmhost.example.com/mdm#ShutDownDeviceCommandResponse Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/xml | ShutDownDeviceResponse | The response object the system returns for the Shut Down Device Command. |
Discussion
A passcode-locked iOS device doesn’t rejoin a Wi-Fi network after a user restarts it and before they unlock it for the first time, so it can’t communicate with the server if it needs Wi-Fi to do so.
Refer to the following sections to determine supported channels and requirements, and to see an example request and response.
Command availability
Device channel | iOS, macOS, Shared iPad |
User channel | NA |
Requires supervision | iOS, macOS |
Allowed in user enrollment | NA |
Required access right | AllowPasscodeRemovalAndLock |
Example request and response
HTTP Body
The request object the server returns for the Shut Down Device Command.