Sync jobs
Update sync job
You can update one or more sync jobs per request. You can also send just attributes you want to change.
post/api/v1/edit/syncjob
Request body
Example request
{
"attr": {
"active": "1",
"automap": "1",
"custom_params": "",
"delete1": "0",
"delete2": "0",
"delete2duplicates": "1",
"enc1": "SSL",
"exclude": "(?i)spam|(?i)junk",
"host1": "imap.server.tld",
"maxage": "0",
"maxbytespersecond": "0",
"mins_interval": "20",
"password1": "supersecret",
"port1": "993",
"skipcrossduplicates": "0",
"subfolder2": "External",
"subscribeall": "1",
"timeout1": "600",
"timeout2": "600",
"user1": "username"
},
"items": "1"
}Response
OK