To create a schedule for Malware Protection, I want to create multiple schedules through API.

in Endpoint Security
To create a schedule for Malware Protection, I want to create multiple schedules through API.

I want to make it try an antivirus scan every 10 minutes
To manually classify categories

{
“name”: “scan1”,
“start”: “2022-01-12T17:50:00”,
“scantype”: “full”,
“schedule”: {
“time”: “17:50”,
“recur_unit”: “day”,
“day_of_week”: ,
“day_of_month”: ,
“recur_period”: 1
}
},
{
“name”: “scan2”,
“start”: “2022-01-12T18:00:00”,
“scantype”: “full”,
“schedule”: {
“time”: “18:00”,
“recur_unit”: “day”,
“day_of_week”: ,
“day_of_month”: ,
“recur_period”: 1
}
},
{
“name”: “scan3”,
“start”: “2022-01-12T18:10:00”,
“scantype”: “full”,
“schedule”: {
“time”: “18:10”,
“recur_unit”: “day”,
“day_of_week”: ,
“day_of_month”: ,
“recur_period”: 1
}
},

I created these formats.

How do I create a query that writes an API and adds it to the policy so that it scans once every 10 minutes?

Here are the queries I’ve written so far.

Hi DooYoung, thanks for reaching out! I’m working with our Endpoint experts now to get you a response. Please give me a few days to get you an answer. Thanks!

Hi DooYoung, here is the info from our team:

Use the policy API to edit the policy applied to the agent. Under malware scan category, one can add new schedules for malware scan.

PUT: https:// address>/hx/api/v3/policies/<Policy_id>

Body: All categories of the policy should be included with the malware scans category scheduleList having new schedules.