---
title: Shut Down Device
framework: devicemanagement
role: symbol
role_heading: Web Service Endpoint
path: devicemanagement/shut-down-device-command
---

# Shut Down Device

Remotely and immediately shut down a device.

## URL

PUT https://yourmdmhost.example.com/mdm

## Response Codes

200 OK: The response object the system returns for the Shut Down Device Command.

## Discussion

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  |   |   |   |   |   |  Example request and response

## HTTP Body

The request object the server returns for the Shut Down Device Command.

## Topics

### Commands and responses

- [ShutDownDeviceCommand](devicemanagement/shutdowndevicecommand.md)
- [ShutDownDeviceResponse](devicemanagement/shutdowndeviceresponse.md)

## See Also

### Device state

- [Erase Device](devicemanagement/erase-device-command.md)
- [Device Lock](devicemanagement/device-lock-command.md)
- [Restart Device](devicemanagement/restart-device-command.md)
