Create new directory bind template.
post /api/v1/mdm/directory/bindpolicytemplates
https://{server-hostname}:8383/api/v1/mdm/directory/bindpolicytemplates
MDMDeviceMgmt.CREATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Name of the bind policy template
Active Directory domain name to bind the device to (e.g., ad.zylker.com)
AD user account with privileges to bind the device to the directory
Managed password ID for the AD user account. Configure using Add Managed Password API
Description of the bind policy template
Create a mobile account at login. Defaults to true
Warn user before creating a mobile account. Defaults to false
Force local home directory on startup disk. Defaults to true
Use Windows UNC path to derive network home location. Defaults to true
Whether to specify a preferred domain controller. Defaults to false
Preferred domain controller hostname. Applicable only when preferred_dc_flag is true
Allow authentication from any domain in the forest. Defaults to true
Default user shell path (e.g., /bin/bash). Defaults to /bin/bash
AD namespace type. Allowed values: 1 (Domain), 2 (Forest). Defaults to 1
Network home protocol. Allowed values: 1 (SMB), 2 (AFP). Defaults to 1
Packet signing policy. Allowed values: 1 (Allow), 2 (Disable), 3 (Require). Defaults to 1
Packet encryption policy. Allowed values: 1 (Allow), 2 (Disable), 3 (Require), 4 (Require SSL). Defaults to 1
Trust domain object password interval in days. Defaults to 14
List of network interfaces (e.g., en0, en1) for which DDNS updates will be restricted
curl --request POST \
--url https://appdomain/api/v1/mdm/directory/bindpolicytemplates \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"force_home_local":true,"windows_unc_path":true,"default_shell":"/bin/bash","allow_multi_domain_auth":true,"trust_pass_interval":14,"user_name":"bindadmin","preferred_dc_flag":false,"adrestrictddns":["en0","en1"],"description":"Template for binding Mac devices to corporate AD","mount_style":1,"domain_name":"ad.zylker.com","packet_encryption":1,"name":"Corporate AD Bind Template","namespace":1,"create_ma_at_login":true,"packet_sign":1,"managed_password_id":9007199254741000,"warn_before_ma":false}'Create a new AD bind policy template
{
"force_home_local": true,
"windows_unc_path": true,
"default_shell": "/bin/bash",
"allow_multi_domain_auth": true,
"trust_pass_interval": 14,
"user_name": "bindadmin",
"preferred_dc_flag": false,
"adrestrictddns": [
"en0",
"en1"
],
"description": "Template for binding Mac devices to corporate AD",
"mount_style": 1,
"domain_name": "ad.zylker.com",
"packet_encryption": 1,
"name": "Corporate AD Bind Template",
"namespace": 1,
"create_ma_at_login": true,
"packet_sign": 1,
"managed_password_id": 9007199254741000,
"warn_before_ma": false
}
Unique identifier of the created bind policy template
Name of the bind policy template
Active Directory domain name
AD user account used for binding
Managed password ID for the AD user account. Configure using Add Managed Password API
Description of the bind policy template
Bind policy type. 1 indicates Traditional AD
Create a mobile account at login
Warn user before creating a mobile account
Force local home directory on startup disk
Use Windows UNC path to derive network home location
Whether a preferred domain controller is specified
Preferred domain controller hostname
Allow authentication from any domain in the forest
Default user shell path
AD namespace type. 1 = Domain, 2 = Forest
Network home protocol. 1 = SMB, 2 = AFP
Packet signing policy. 1 = Allow, 2 = Disable, 3 = Require
Packet encryption policy. 1 = Allow, 2 = Disable, 3 = Require, 4 = Require SSL
Trust domain object password interval in days
List of network interfaces for which DDNS updates are restricted
Bind policy template successfully created
{
"force_home_local": true,
"windows_unc_path": true,
"default_shell": "/bin/bash",
"allow_multi_domain_auth": true,
"trust_pass_interval": 14,
"user_name": "bindadmin",
"preferred_dc_flag": false,
"adrestrictddns": [
{
"restricted_interface": "en0"
},
{
"restricted_interface": "en1"
}
],
"description": "Template for binding Mac devices to corporate AD",
"type": 1,
"preferred_dc": "",
"mount_style": 1,
"domain_name": "ad.zylker.com",
"packet_encryption": 1,
"name": "Corporate AD Bind Template",
"namespace": 1,
"create_ma_at_login": true,
"packet_sign": 1,
"bind_policy_id": 9007199254741050,
"managed_password_id": 9007199254741000,
"warn_before_ma": false
}
![]()
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.