Save inactive device policy settings
put /api/v1/mdm/inactive_device_policy_settings
https://{server-hostname}:8383/api/v1/mdm/inactive_device_policy_settings
MDMAdmin.UPDATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Action to perform on inactive devices. 0 = No Action (default), 1 = Remove Inactive Devices, 2 = Retire Inactive Devices, 3 = Unassign License
Threshold period in milliseconds to perform the action on an inactive device. Default is 0. Example: 1814400000 (21 days)
Threshold period in milliseconds to move the device to inactive state. Example: 1728000000 (20 days)
To send email notifications when device is inactive, to the assigned user. 0 - No notification, 1 - Notifications only for mobile devices, 2 - Notifications only for computers, 3 - Notification for all devices
curl --request PUT \
--url https://appdomain/api/v1/mdm/inactive_device_policy_settings \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"action_type":1,"action_threshold":1814400000,"inactive_threshold":1728000000}'Remove devices inactive for 21 days after 20-day warning threshold
{
"action_type": 1,
"action_threshold": 1814400000,
"inactive_threshold": 1728000000
}
Retire devices inactive for 21 days after 20-day warning threshold
{
"action_type": 2,
"action_threshold": 1814400000,
"inactive_threshold": 1728000000
}
Set no-action policy with default thresholds
{
"action_type": 0,
"action_threshold": 0,
"inactive_threshold": 1728000000
}
Unassign MDM license for devices inactive for 21 days
{
"action_type": 3,
"action_threshold": 1814400000,
"inactive_threshold": 1728000000
}
Current status. Set to 'acknowledged' if inactive device policy settings were successfully saved
Inactive device policy settings saved successfully
{
"status": "acknowledged"
}
![]()
Duration: 1 minute | Threshold: 60 | Lock period: 5 minutes
Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.