mirror of
https://github.com/apple/device-management.git
synced 2026-08-13 03:50:19 +02:00
45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
title: Shut Down Device Command
|
|
description: Remotely and immediately shut down a device.
|
|
payload:
|
|
requesttype: ShutDownDevice
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '10.3'
|
|
accessrights: AllowPasscodeRemovalAndLock
|
|
supervised: true
|
|
requiresdep: false
|
|
sharedipad:
|
|
mode: allowed
|
|
devicechannel: true
|
|
userchannel: false
|
|
userenrollment:
|
|
mode: forbidden
|
|
macOS:
|
|
introduced: '10.13'
|
|
accessrights: AllowPasscodeRemovalAndLock
|
|
devicechannel: true
|
|
userchannel: false
|
|
supervised: false
|
|
requiresdep: false
|
|
userenrollment:
|
|
mode: forbidden
|
|
tvOS:
|
|
introduced: n/a
|
|
visionOS:
|
|
introduced: n/a
|
|
watchOS:
|
|
introduced: n/a
|
|
content: This command requires the Device Lock access right. The device will shut
|
|
down immediately.
|
|
notes:
|
|
- title: ''
|
|
content: |-
|
|
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.
|
|
examples:
|
|
- title: Example request and response
|
|
files:
|
|
- request-file: examples/mdm/commands/device.shutdown/example1.plist
|
|
response-file: examples/mdm/commands/device.shutdown/example2.plist
|