Contents

Clear Restrictions Password

Clear the Screen Time password and the restrictions on a device.

URL

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

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/xml
ClearRestrictionsPasswordResponse

The response object the system returns for the Clear Restrictions Password Command.

Discussion

In iOS 11 and earlier, this command clears the restrictions password and all restrictions that the password protects.

In iOS 12.2 and later, if Screen Time uses iCloud to share its settings (Share Across Devices), this command disables Screen Time entirely and clears its restrictions. If the user is a child in an iCloud family, the command fails. Otherwise, if Screen Time isn’t using iCloud, this command clears the passcode, but not the restrictions, and it leaves Screen Time enabled.

Refer to the following sections to determine supported channels and requirements, and to see an example request and response.

Command availability

Device channel

iOS

User channel

NA

Requires supervision

iOS

Allowed in user enrollment

NA

Required access right

NA

Example request and response

HTTP Body

The request object the server returns for the Clear Restrictions Password Command.

Topics

Commands and responses

See Also

Passwords