Create Windows VPN policy payload
https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/windowsvpnpolicy
MDMDeviceMgmt.CREATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Unique identifier of the profile. Obtain from the Create Profile or Get Profiles response
Connection Name. Default: VPN Configuration
Connection Type. Default: 0
Proxy Type. Default: 0
Proxy Server
Proxy Server Port. Default: 0
Proxy Pac Url
Vpn Type. Default: 1
Allowed Apps
Custom Data
curl --request POST \
--url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/windowsvpnpolicy \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"connection_name":"VPN Configuration","connection_type":"8","ikev2":{"authentication_method":0,"server_name":"127.0.0.1"},"allowed_apps":[],"vpn_type":2,"proxy_type":"0"}'Add VPN payload to the profile (IKEv2 with Password)
{
"connection_name": "VPN Configuration",
"connection_type": "8",
"ikev2": {
"authentication_method": 0,
"server_name": "127.0.0.1"
},
"allowed_apps": [],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (IKEv2 with Certificate)
{
"connection_name": "VPN Configuration",
"connection_type": "8",
"ikev2": {
"authentication_method": 2,
"server_name": "127.0.0.1",
"ca_certificate_id": "1"
},
"allowed_apps": [],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (PPTP with Password)
{
"connection_name": "VPN Configuration",
"connection_type": "1",
"allowed_apps": [],
"pptp": {
"server_name": "127.0.0.1",
"user_authentication": 0
},
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (PPTP with Certificate)
{
"connection_name": "VPN Configuration",
"connection_type": "1",
"allowed_apps": [],
"pptp": {
"server_name": "127.0.0.1",
"ca_certificate_id": "1",
"user_authentication": 2
},
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (L2TP with Password)
{
"connection_name": "VPN Configuration",
"l2tp": {
"server_name": "127.0.0.1",
"user_authentication": 0
},
"connection_type": "0",
"allowed_apps": [],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (L2TP with Shared Secret)
{
"connection_name": "VPN Configuration",
"l2tp": {
"server_name": "127.0.0.1",
"user_authentication": 1,
"shared_secret": "xxxxx"
},
"connection_type": "0",
"allowed_apps": [],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (L2TP with Certificate)
{
"connection_name": "VPN Configuration",
"l2tp": {
"server_name": "127.0.0.1",
"ca_certificate_id": "1",
"user_authentication": 2
},
"connection_type": "0",
"allowed_apps": [],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (F5 Access)
{
"connection_name": "VPN Configuration",
"connection_type": 6,
"customssl": {
"server_name": "127.0.0.1",
"identifier": "F5Networks.vpn.client_btcnfmkykcjs2",
"user_authentication": 0
},
"allowed_apps": [],
"custom_data": [
{
"custom_value": "true",
"custom_key": "single-sign-on-credential"
},
{
"custom_value": "true",
"custom_key": "optimize-for-low-cost-network"
}
],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (Pulse Secure)
{
"connection_name": "VPN Configuration",
"connection_type": 6,
"customssl": {
"server_name": "127.0.0.1",
"identifier": "951D7986.PulseSecureVPN_qzpvqh70t9a4p",
"user_authentication": 0
},
"allowed_apps": [],
"custom_data": [
{
"custom_value": "true",
"custom_key": "isSingleSignOnCredential"
},
{
"custom_value": "true",
"custom_key": "optimizeForLowCostNetwork"
},
{
"custom_value": "1",
"custom_key": "preferredRealm"
},
{
"custom_value": "1",
"custom_key": "preferredRole"
}
],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (SonicWall VPN)
{
"connection_name": "VPN Configuration",
"connection_type": 6,
"customssl": {
"server_name": "127.0.0.1",
"identifier": "SonicWALL.MobileConnect_e5kpm93dbe93j",
"user_authentication": 0
},
"allowed_apps": [],
"custom_data": [
{
"custom_value": "true",
"custom_key": "SingleSignOn"
},
{
"custom_value": "false",
"custom_key": "PacketCapture"
},
{
"custom_value": "false",
"custom_key": "WindowsAuthUI"
}
],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (CheckPoint)
{
"connection_name": "VPN Configuration",
"connection_type": 6,
"customssl": {
"server_name": "127.0.0.1",
"identifier": "B4D42709.CheckPointVPN_wz4qkf3wxpc74",
"user_authentication": 0
},
"allowed_apps": [],
"custom_data": [
{
"custom_value": "true",
"custom_key": "sso"
},
{
"custom_value": "true",
"custom_key": "lowcost"
}
],
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (Per-App VPN)
{
"connection_name": "VPN Configuration",
"connection_type": "1",
"allowed_apps": [
{
"group_display_name": "Alarms and clock",
"is_system_app": false,
"app_id": "1"
}
],
"pptp": {
"server_name": "127.0.0.1",
"user_authentication": 0
},
"vpn_type": 2,
"proxy_type": "0"
}
Add VPN payload to the profile (With Proxy Automatic)
{
"connection_name": "VPN Configuration",
"connection_type": "1",
"allowed_apps": [],
"pptp": {
"server_name": "127.0.0.1",
"user_authentication": 0
},
"proxy_pac_url": "127.0.0.1:3128",
"vpn_type": 2,
"proxy_type": "2"
}
Add VPN payload to the profile (With Proxy Manual)
{
"connection_name": "VPN Configuration",
"connection_type": "1",
"allowed_apps": [],
"proxy_server": "127.0.0.1",
"pptp": {
"server_name": "127.0.0.1",
"user_authentication": 0
},
"proxy_server_port": "3128",
"vpn_type": 2,
"proxy_type": "1"
}
Unique identifier for the created payload item
Connection Name. Default: VPN Configuration
Connection Type. Default: 0
Send All Nw Traffic. Default: false
Enable Vpn On Demand. Default: false
Proxy Type. Default: 0
Proxy Server
Proxy Server Port. Default: 0
Proxy User Name
Proxy Pac Url
Vpn Type. Default: 1
Provider Type. Default: 1
Vpnuuid
Allowed Apps
Custom Data
VPN payload successfully added
{
"provider_type": "1",
"payload_id": "9007199254741295",
"connection_type": "6",
"proxy_user_name": "",
"proxy_server": "127.0.0.1",
"allowed_apps": [
{
"group_display_name": "Alarms and clock",
"is_system_app": false,
"app_id": "1"
}
],
"enable_vpn_on_demand": false,
"vpnuuid": "",
"proxy_server_port": "3128",
"vpn_type": "2",
"connection_name": "VPN Configuration",
"send_all_nw_traffic": false,
"customssl": {
"certificate_id": "-1",
"identifier": "951D7986.PulseSecureVPN_qzpvqh70t9a4p",
"server_name": "127.0.0.1",
"user_authentication": "0",
"provider_identifier": "",
"account": ""
},
"proxy_pac_url": "",
"custom_data": [
{
"custom_value": "1",
"custom_key": "preferredRealm"
},
{
"custom_value": "true",
"custom_key": "optimizeForLowCostNetwork"
},
{
"custom_value": "1",
"custom_key": "preferredRole"
},
{
"custom_value": "true",
"custom_key": "isSingleSignOnCredential"
}
],
"proxy_type": "1"
}
![]()
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.