Modify Android VPN policy payload
https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/androidvpnpolicy/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
VPN connection display name (required)
VPN connection protocol type. 1 = L2TP/IPSec PSK, 2 = L2TP/IPSec RSA, 3 = IPSec Xauth PSK, 4 = IPSec Xauth RSA, 5 = IPSec IKEv2 PSK, 6 = IPSec IKEv2 RSA, 7 = IPSec Hybrid RSA, 8 = PPTP, 19 = Cisco AnyConnect, 20 = Pulse Secure, 21 = F5 SSL, 22 = Palo Alto (required)
App identifier for the VPN client application
Display name of the app or app group
Unique identifier of the app group
List of apps excluded from VPN lockdown
Display name of the app or app group
Unique identifier of the app group
Whether VPN is always on. Default: false
Whether VPN lockdown is enabled (blocks traffic without VPN). Default: false
L2TP/IPSec PSK connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
L2TP secret key (write-only)
Whether the L2TP secret is enabled. Default: false
VPN account username
IPSec group identifier
VPN authentication password (write-only)
User authentication method
DNS server addresses
Forwarding routes for VPN traffic
User certificate ID for RSA authentication
L2TP/IPSec RSA connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
L2TP secret key (write-only)
Whether the L2TP secret is enabled. Default: false
VPN account username
IPSec group identifier
VPN authentication password (write-only)
User authentication method
DNS server addresses
Forwarding routes for VPN traffic
User certificate ID for RSA authentication
PPTP connection configuration
VPN server hostname or IP address (required)
VPN account username
VPN authentication password (write-only)
IPSec Xauth PSK connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
IPSec Xauth RSA connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
IPSec IKEv2 PSK connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
IPSec IKEv2 RSA connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
IPSec Hybrid RSA connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
Pulse Secure VPN connection configuration
Authentication type
Client certificate ID
Whether VPN is always on. Default: false
Whether this is the default VPN connection. Default: false
Per-app VPN action
VPN authentication password (write-only)
Keychain certificate alias
VPN server hostname or IP address (required)
VPN route type
Authentication realm
VPN account username
User role
Whether UI-less authentication is used. Default: false
Comma-separated package names of apps allowed through VPN
User authentication method
F5 SSL VPN connection configuration
VPN server hostname or IP address (required)
Whether web logon mode is used. Default: false
User-facing message displayed during VPN connection
Comma-separated package names of apps allowed through VPN
Client certificate ID
Whether FIPS mode is enabled. Default: false
VPN account username
Whether user configuration changes are disallowed. Default: false
VPN authentication password (write-only)
Keychain certificate alias
User authentication method
Cisco AnyConnect VPN connection configuration
VPN server hostname or IP address (required)
Whether certificate revocation checking is enabled. Default: false
IPSec authentication type
Client certificate ID
Whether VPN is always on. Default: false
Whether FIPS mode is enabled. Default: false
VPN connection protocol (SSL or IPSec)
Whether strict certificate validation is enabled. Default: false
VPN authentication password (write-only)
IKE identity string
Keychain certificate alias
Comma-separated package names of apps allowed through VPN
User authentication method
Palo Alto Networks GlobalProtect VPN connection configuration
VPN server hostname or IP address (required)
Client certificate ID
VPN account username
VPN authentication password (write-only)
Keychain certificate alias
Comma-separated package names of apps allowed through VPN
curl --request PUT \
--url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/androidvpnpolicy/payloaditems/{payload_id} \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"connection_name":"VPN Configuration","lockdown_enabled":false,"connection_type":19,"vpn_app_id":{},"l2tp_psk":{},"vpn_lockdown_excluded_apps":[],"ipsec_xauth_psk":{},"always_on":false,"pptp":{},"l2tp_rsa":{}}'Modify VPN payload item
{
"connection_name": "VPN Configuration",
"lockdown_enabled": false,
"connection_type": 19,
"vpn_app_id": {},
"l2tp_psk": {},
"vpn_lockdown_excluded_apps": [],
"ipsec_xauth_psk": {},
"always_on": false,
"pptp": {},
"l2tp_rsa": {}
}
Unique identifier of the payload item
VPN connection display name (required)
VPN connection protocol type. 1 = L2TP/IPSec PSK, 2 = L2TP/IPSec RSA, 3 = IPSec Xauth PSK, 4 = IPSec Xauth RSA, 5 = IPSec IKEv2 PSK, 6 = IPSec IKEv2 RSA, 7 = IPSec Hybrid RSA, 8 = PPTP, 19 = Cisco AnyConnect, 20 = Pulse Secure, 21 = F5 SSL, 22 = Palo Alto (required)
App identifier for the VPN client application
Display name of the app or app group
Unique identifier of the app group
List of apps excluded from VPN lockdown
Display name of the app or app group
Unique identifier of the app group
Whether VPN is always on. Default: false
Whether VPN lockdown is enabled (blocks traffic without VPN). Default: false
L2TP/IPSec PSK connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
L2TP secret key (write-only)
Whether the L2TP secret is enabled. Default: false
VPN account username
IPSec group identifier
VPN authentication password (write-only)
User authentication method
DNS server addresses
Forwarding routes for VPN traffic
User certificate ID for RSA authentication
L2TP/IPSec RSA connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
L2TP secret key (write-only)
Whether the L2TP secret is enabled. Default: false
VPN account username
IPSec group identifier
VPN authentication password (write-only)
User authentication method
DNS server addresses
Forwarding routes for VPN traffic
User certificate ID for RSA authentication
PPTP connection configuration
VPN server hostname or IP address (required)
VPN account username
VPN authentication password (write-only)
IPSec Xauth PSK connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
IPSec Xauth RSA connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
IPSec IKEv2 PSK connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
IPSec IKEv2 RSA connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
IPSec Hybrid RSA connection configuration
VPN server hostname or IP address (required)
IPSec pre-shared key (write-only, required)
VPN account username
IPSec group identifier
VPN authentication password (write-only)
DNS server addresses
Forwarding routes for VPN traffic
Pulse Secure VPN connection configuration
Authentication type
Client certificate ID
Whether VPN is always on. Default: false
Whether this is the default VPN connection. Default: false
Per-app VPN action
VPN authentication password (write-only)
Keychain certificate alias
VPN server hostname or IP address (required)
VPN route type
Authentication realm
VPN account username
User role
Whether UI-less authentication is used. Default: false
Comma-separated package names of apps allowed through VPN
User authentication method
F5 SSL VPN connection configuration
VPN server hostname or IP address (required)
Whether web logon mode is used. Default: false
User-facing message displayed during VPN connection
Comma-separated package names of apps allowed through VPN
Client certificate ID
Whether FIPS mode is enabled. Default: false
VPN account username
Whether user configuration changes are disallowed. Default: false
VPN authentication password (write-only)
Keychain certificate alias
User authentication method
Cisco AnyConnect VPN connection configuration
VPN server hostname or IP address (required)
Whether certificate revocation checking is enabled. Default: false
IPSec authentication type
Client certificate ID
Whether VPN is always on. Default: false
Whether FIPS mode is enabled. Default: false
VPN connection protocol (SSL or IPSec)
Whether strict certificate validation is enabled. Default: false
VPN authentication password (write-only)
IKE identity string
Keychain certificate alias
Comma-separated package names of apps allowed through VPN
User authentication method
Palo Alto Networks GlobalProtect VPN connection configuration
VPN server hostname or IP address (required)
Client certificate ID
VPN account username
VPN authentication password (write-only)
Keychain certificate alias
Comma-separated package names of apps allowed through VPN
VPN payload item successfully modified
{
"connection_name": "VPN Configuration",
"payload_id": 9007199254741000,
"lockdown_enabled": false,
"connection_type": 19,
"vpn_app_id": {},
"l2tp_psk": {},
"vpn_lockdown_excluded_apps": [],
"ipsec_xauth_psk": {},
"always_on": false,
"pptp": {},
"l2tp_rsa": {}
}
![]()
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.