Create Windows Passcode policy payload
https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/windowspasscodepolicy
MDMDeviceMgmt.CREATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Unique identifier of the profile. Obtain from the Create Profile or Get Profiles response
Pwd Enabled. Default: 0
Allow Simple Pwd. Default: -1
Min Pwd Length. Default: -1
Alphanumeric Pwd Required. Default: -1
Pwd Expiration. Default: -1
Pwd History. Default: -1
Max Pwd Failed Attempts. Default: -1
Max Inactivity Time Devlock. Default: -1
Min Pwd Complex Char. Default: -1
Min Pwd Age. Default: -1
curl --request POST \
--url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/windowspasscodepolicy \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"alphanumeric_pwd_required":-1,"min_pwd_length":-1,"pwd_enabled":0,"pwd_expiration":-1,"max_pwd_failed_attempts":-1,"max_inactivity_time_devlock":-1,"min_pwd_complex_char":-1,"pwd_history":-1,"allow_simple_pwd":-1,"min_pwd_age":-1}'Add Passcode payload to the profile
{
"alphanumeric_pwd_required": -1,
"min_pwd_length": -1,
"pwd_enabled": 0,
"pwd_expiration": -1,
"max_pwd_failed_attempts": -1,
"max_inactivity_time_devlock": -1,
"min_pwd_complex_char": -1,
"pwd_history": -1,
"allow_simple_pwd": -1,
"min_pwd_age": -1
}
Unique identifier for the created payload item
Pwd Enabled. Default: 0
Allow Simple Pwd. Default: -1
Min Pwd Length. Default: -1
Alphanumeric Pwd Required. Default: -1
Pwd Expiration. Default: -1
Pwd History. Default: -1
Max Pwd Failed Attempts. Default: -1
Max Inactivity Time Devlock. Default: -1
Min Pwd Complex Char. Default: -1
Min Pwd Age. Default: -1
Passcode payload successfully added
{
"alphanumeric_pwd_required": -1,
"min_pwd_length": -1,
"payload_id": 9007199254741000,
"pwd_enabled": 0,
"pwd_expiration": -1,
"max_pwd_failed_attempts": -1,
"max_inactivity_time_devlock": -1,
"min_pwd_complex_char": -1,
"pwd_history": -1,
"allow_simple_pwd": -1,
"min_pwd_age": -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.