Create the scheduler for the restart and shutdown action to perform in the devices or groups
post /api/v1/mdm/actions/scheduled/{action_name}
https://{server-hostname}:8383/api/v1/mdm/actions/scheduled/{action_name}
MDMDeviceMgmt.CREATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Name of the scheduled action
Array of group IDs with devices that need to be restarted or shutdown (required)
Timezone for which the scheduled action is to be executed (required)
Parameters for the schedule (required)
Schedule Type: Daily, Weekly, or Monthly
Type of daily schedule: everyday, weekDays, or alternativeDays (Daily only)
Execution time for daily type schedule (Daily only)
Comma-separated days of the week (Weekly only)
Execution time for weekly type schedule (Weekly only)
Type of monthly schedule: WeekDay or Day (Monthly only)
Day of the month for execution (Monthly only)
Execution time for monthly type schedule (Monthly only)
Day of the week for monthly type schedule (Monthly only)
Execution week for monthly type schedule (Monthly only)
Comma-separated list of months for monthly schedule (Monthly only)
Value indicating whether the schedule is disabled
Reason for scheduling the action, used for auditing purposes (required)
Type of execution: 1 = Once, 2 = Repeat (required)
Time in milliseconds at which the scheduled command expires (required)
Current time in milliseconds when action is scheduled to be executed once (required)
Name of the action: restart or shutdown
curl --request POST \
--url https://appdomain/api/v1/mdm/actions/scheduled/{action_name} \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"schedule_params":{"schedule_type":"Daily","daily_time":"10/25/2018, 15:30","daily_interval_type":"everyDay"},"reason_message":"Maintenance","action_name":"restart","groups":["9007199254741037","9007199254741038","9007199254741039"],"execution_type":2,"expiry":600000,"time_zone":"America/Los_Angeles","schedule_once_time":1627970696000}'Create a daily restart schedule for 3 device groups
{
"schedule_params": {
"schedule_type": "Daily",
"daily_time": "10/25/2018, 15:30",
"daily_interval_type": "everyDay"
},
"reason_message": "Maintenance",
"action_name": "restart",
"groups": [
"9007199254741037",
"9007199254741038",
"9007199254741039"
],
"execution_type": 2,
"expiry": 600000,
"time_zone": "America/Los_Angeles",
"schedule_once_time": 1627970696000
}
Create a weekly shutdown schedule on Mon/Wed/Fri
{
"schedule_params": {
"days_of_week": "1,3,5",
"schedule_type": "Weekly",
"weekly_time": "1800"
},
"reason_message": "End of day shutdown",
"action_name": "shutdown",
"groups": [
"9007199254741052",
"9007199254741053"
],
"execution_type": 2,
"expiry": 600000,
"time_zone": "America/New_York",
"schedule_once_time": 1627970696000
}
202 Accepted![]()
Duration: 1 minute | Threshold: 30 | 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.