Modify Android Exchange configurations payload
https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/androidexchangeactivesyncpolicy/payloaditems/{payload_id}
MDMDeviceMgmt.UPDATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Unique identifier of the profile. Obtain from the Create Profile or Get Profiles response
Unique identifier of the payload item. Obtain from the Get Payload Item IDs response
Exchange account type. 1 = Exchange (default)
Display name for the Exchange account, shown on the device. Default: Corporate E-mail
Username for Exchange authentication. Use %upn% to auto-populate with the user principal name
Windows domain for Exchange authentication. Use %domainname% to auto-populate
Hostname or URL of the Exchange ActiveSync server (required)
Email address for the Exchange account. Use %email% to auto-populate
Password for Exchange authentication. Write-only; not returned in responses
ID of a stored credential used as the Exchange account password. Use -1 when providing password directly
Accept all SSL certificates, including self-signed ones, from the Exchange server. Default: true
Enable SSL/TLS encryption for the Exchange ActiveSync connection. Default: true
Set this as the default email account on the device. Default: true
Enable vibration for email notifications at all times. Default: false
Enable vibration for email notifications when the device is on silent mode. Default: false
Enable synchronization of mail from Exchange. Default: true
Enable synchronization of calendar events from Exchange. Default: true
Enable synchronization of contacts from Exchange. Default: true
Enable synchronization of notes from Exchange. Default: true
Enable synchronization of tasks from Exchange. Default: true
Number of past days of mail to synchronize. 2 = last 3 days, 3 = last week, 4 = last 2 weeks, 5 = last month, 6 = all. Default: 2
ID of the client identity certificate for mutual TLS authentication. Use -1 for none. Default: -1
Number of past days of calendar events to synchronize. Default: 5
Bitmask of days classified as peak hours (bit 0 = Sunday … bit 6 = Saturday). Default: 0 (no peak schedule)
Start time of peak hours, in minutes from midnight (e.g. 480 = 8:00 AM). Default: 8
End time of peak hours, in minutes from midnight (e.g. 1020 = 5:00 PM). Default: 17
Mail sync frequency in minutes during peak hours. Default: 2
Mail sync frequency in minutes during off-peak hours. Default: 2
Maximum attachment size in KB to download automatically. Use 0 for unlimited. Default: 0
Enable email push notifications on the device. Default: true
Default email signature appended to outgoing messages
Allow the user to modify mail settings from the device. Default: true
Allow the user to forward emails. Default: true
Allow rendering of HTML-formatted email content. Default: true
Maximum email body size in KB to retrieve. Use 9 to retrieve the full message. Default: 9
Mail sync behavior while roaming. 0 = automatic, 1 = never, 2 = always. Default: 1
Preferred client for viewing emails. 1 = MDM Email app, 2 = Device default email app. Default: 1
Secondary email client preference. 1 = MDM Email app, 2 = Device default email app. Default: 1
Enable advanced Exchange ActiveSync settings configuration on the device. Default: false
curl --request PUT \
--url https://appdomain/api/v1/mdm/profiles/%7Bprofile_id%7D/payloads/androidexchangeactivesyncpolicy/payloaditems/%7Bpayload_id%7D \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"account_type":1,"peak_start_mins":480,"signature":"Regards, %username%","user_name":"%upn%","allow_silent_vibrate":false,"roaming_settings":1,"default_account":true,"past_days_mail_to_sync":2,"off_peak_days_sycn_frequency":60,"password":"********","password_id":-1,"sync_calandar":true,"advancedSettings":false,"account_name":"Corporate E-mail","allow_html_content":true,"peak_end_mins":1020,"secondary_client_pref":1,"peak_days_sycn_frequency":15,"past_days_to_calander_sync":5,"incoming_attachment_max_size":0,"sync_notes":true,"allow_always_vibrate":false,"identity_cert_id":-1,"use_ssl":true,"sync_contacts":true,"sync_tasks":true,"allow_change_mail_settings":true,"allow_notify":true,"allow_forward_email":true,"sync_mail":true,"retrival_size":9,"accept_all_certificates":true,"email_address":"%email%","peak_days":0,"primary_client_pref":1,"domain":"%domainname%","active_sync_host":"mail.zylker.com"}'Modify Exchange ActiveSync payload item
{
"account_type": 1,
"peak_start_mins": 480,
"signature": "Regards, %username%",
"user_name": "%upn%",
"allow_silent_vibrate": false,
"roaming_settings": 1,
"default_account": true,
"past_days_mail_to_sync": 2,
"off_peak_days_sycn_frequency": 60,
"password": "********",
"password_id": -1,
"sync_calandar": true,
"advancedSettings": false,
"account_name": "Corporate E-mail",
"allow_html_content": true,
"peak_end_mins": 1020,
"secondary_client_pref": 1,
"peak_days_sycn_frequency": 15,
"past_days_to_calander_sync": 5,
"incoming_attachment_max_size": 0,
"sync_notes": true,
"allow_always_vibrate": false,
"identity_cert_id": -1,
"use_ssl": true,
"sync_contacts": true,
"sync_tasks": true,
"allow_change_mail_settings": true,
"allow_notify": true,
"allow_forward_email": true,
"sync_mail": true,
"retrival_size": 9,
"accept_all_certificates": true,
"email_address": "%email%",
"peak_days": 0,
"primary_client_pref": 1,
"domain": "%domainname%",
"active_sync_host": "mail.zylker.com"
}
Unique identifier of the payload item
Exchange account type. 1 = Exchange (default)
Display name for the Exchange account, shown on the device. Default: Corporate E-mail
Username for Exchange authentication. Use %upn% to auto-populate with the user principal name
Windows domain for Exchange authentication. Use %domainname% to auto-populate
Hostname or URL of the Exchange ActiveSync server (required)
Email address for the Exchange account. Use %email% to auto-populate
Password for Exchange authentication. Write-only; not returned in responses
ID of a stored credential used as the Exchange account password. Use -1 when providing password directly
Accept all SSL certificates, including self-signed ones, from the Exchange server. Default: true
Enable SSL/TLS encryption for the Exchange ActiveSync connection. Default: true
Set this as the default email account on the device. Default: true
Enable vibration for email notifications at all times. Default: false
Enable vibration for email notifications when the device is on silent mode. Default: false
Enable synchronization of mail from Exchange. Default: true
Enable synchronization of calendar events from Exchange. Default: true
Enable synchronization of contacts from Exchange. Default: true
Enable synchronization of notes from Exchange. Default: true
Enable synchronization of tasks from Exchange. Default: true
Number of past days of mail to synchronize. 2 = last 3 days, 3 = last week, 4 = last 2 weeks, 5 = last month, 6 = all. Default: 2
ID of the client identity certificate for mutual TLS authentication. Use -1 for none. Default: -1
Number of past days of calendar events to synchronize. Default: 5
Bitmask of days classified as peak hours (bit 0 = Sunday … bit 6 = Saturday). Default: 0 (no peak schedule)
Start time of peak hours, in minutes from midnight (e.g. 480 = 8:00 AM). Default: 8
End time of peak hours, in minutes from midnight (e.g. 1020 = 5:00 PM). Default: 17
Mail sync frequency in minutes during peak hours. Default: 2
Mail sync frequency in minutes during off-peak hours. Default: 2
Maximum attachment size in KB to download automatically. Use 0 for unlimited. Default: 0
Enable email push notifications on the device. Default: true
Default email signature appended to outgoing messages
Allow the user to modify mail settings from the device. Default: true
Allow the user to forward emails. Default: true
Allow rendering of HTML-formatted email content. Default: true
Maximum email body size in KB to retrieve. Use 9 to retrieve the full message. Default: 9
Mail sync behavior while roaming. 0 = automatic, 1 = never, 2 = always. Default: 1
Preferred client for viewing emails. 1 = MDM Email app, 2 = Device default email app. Default: 1
Secondary email client preference. 1 = MDM Email app, 2 = Device default email app. Default: 1
Enable advanced Exchange ActiveSync settings configuration on the device. Default: false
Exchange ActiveSync payload item successfully modified
{
"account_type": 1,
"peak_start_mins": 480,
"signature": "Regards, %username%",
"user_name": "%upn%",
"allow_silent_vibrate": false,
"roaming_settings": 1,
"default_account": true,
"past_days_mail_to_sync": 2,
"off_peak_days_sycn_frequency": 60,
"password_id": -1,
"sync_calandar": true,
"advancedSettings": false,
"account_name": "Corporate E-mail",
"allow_html_content": true,
"peak_end_mins": 1020,
"secondary_client_pref": 1,
"peak_days_sycn_frequency": 15,
"past_days_to_calander_sync": 5,
"incoming_attachment_max_size": 0,
"payload_id": 9007199254741000,
"sync_notes": true,
"allow_always_vibrate": false,
"identity_cert_id": -1,
"use_ssl": true,
"sync_contacts": true,
"sync_tasks": true,
"allow_change_mail_settings": true,
"allow_notify": true,
"allow_forward_email": true,
"sync_mail": true,
"retrival_size": 9,
"accept_all_certificates": true,
"email_address": "%email%",
"peak_days": 0,
"primary_client_pref": 1,
"domain": "%domainname%",
"active_sync_host": "mail.zylker.com"
}
![]()
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.