To create Mac service Mgmt policy
https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/macservicemgmtpolicy
MDMDeviceMgmt.CREATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Unique identifier of the profile. Obtain from the Create Profile or Get Profiles response
List of rules controlling which services and daemons are allowed or denied on the Mac
Service rule type. Allowed values: 1=Allow, 2=Deny
Bundle identifier or launchd label of the service or daemon (e.g., com.apple.smbd)
Optional descriptive comment explaining the purpose of this rule
curl --request POST \
--url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/macservicemgmtpolicy \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"mac_service_mgmt_rules":[{"rule_type":1,"rule_value":"com.zylker.service","comment":"Zylker rule"}]}'Add Service Management payload to the profile
{
"mac_service_mgmt_rules": [
{
"rule_type": 1,
"rule_value": "com.zylker.service",
"comment": "Zylker rule"
}
]
}
Unique identifier for the created payload item
List of service management rules configured for this payload
Service rule type. Values: 1=Allow, 2=Deny
Bundle identifier or launchd label of the service or daemon
Descriptive comment explaining the purpose of this rule
Service Management payload successfully added
{
"payload_id": 9007199254741000,
"mac_service_mgmt_rules": [
{
"rule_type": 1,
"rule_value": "com.zylker.service",
"comment": "Zylker rule"
}
]
}
![]()
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.