To get Mac Passcode policy payload item
https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/macpasscodepolicy/payloaditems/{payload_id}
MDMDeviceMgmt.READCopied!
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
Comma-separated list of related fields to include in the response (e.g., assigned_to, payload_details). When omitted, only top-level fields are returned
curl --request GET \
--url 'https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/macpasscodepolicy/payloaditems/{payload_id}?include=payloaditems' \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52'Unique identifier of the payload item
Allow Simple Value. Default: true
Require Alphanumeric. Default: false
Minimum passcode length. Allowed values: 0-16. Default: 0
Minimum number of complex (non-alphanumeric) characters. Allowed values: 0-4. Default: 0
Maximum number of days a passcode can remain unchanged. Allowed values: 0-730. Default: 0
Auto-lock idle time in minutes. Allowed values: 0-15. Default: 0
Number of unique passcodes before reuse is allowed. Allowed values: 0-50. Default: 0
Maximum grace period in minutes before passcode is required.
Maximum number of failed passcode attempts before device wipe. Allowed values: 2-11. Default: 11
Restrict Passcode. Default: false
Force Passcode. Default: true
Change At Next Auth. Default: false
Minutes after which failed login count resets. 0 means no reset. Default: 0
Full configuration details of Passcode payload item
{
"min_passcode_length": -1,
"max_passcode_age": 0,
"payload_id": 9007199254741000,
"require_alphanumeric": false,
"min_complex_chars": -1,
"restrict_passcode": false,
"no_of_passcode_maintained": 0,
"allow_simple_value": true,
"auto_lock_idle_for": -1,
"max_grace_period": -1,
"max_failed_attempts": -1
}
![]()
Duration: 1 minute | Threshold: 120 | 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.