Updates the privilege application group by adding new rules or removing existing ones. Prefetch vendorID or productVendorID from Get App Rule Types for new rules, and prefetch appRuleID from Get Privilege Application Group for rules to remove.
post /dcapi/appctrl/privilegeAppGroup
https://{serverurl}/dcapi/appctrl/privilegeAppGroup
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
JIT request mode (0=Disabled, 1=Enabled, 2=Approval Required)
Whether config-specific app elevation is enabled
Type of application group (3=Privilege)
Rules to add
Rule type (1=Vendor, 2=Product, 3=Executable, 4=FileHash)
Verified repository IDs (vendorID or productVendorID) — prefetch from Get Child Process Types (Omit this parameter if you are not adding any verified IDs.)
Unverified repository IDs - prefetch from Get Child Process Types (Omit this parameter if you are not adding any unverified IDs.)
Rules to remove
Rule type (1=Vendor, 2=Product, 3=Executable, 4=FileHash)
App Rule IDs Prefetch from Get Privileage App Group
curl --request POST \
--url https://appdomains/dcapi/appctrl/privilegeAppGroup \
--header 'Accept: application/addUpdatePrivilegeAppGroup.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/addUpdatePrivilegeAppGroup.v1+json' \
--data '{"removedRules":[{"appRuleType":1,"appRuleIDs":[610]}],"appGroupType":3,"configSpecificAppEnabled":true,"jitRequestMode":"2","addedRules":[{"appRuleType":2}]}'Update privilege group — add product rules and remove existing vendor rules
{
"removedRules": [
{
"appRuleType": 1,
"appRuleIDs": [
610
]
}
],
"appGroupType": 3,
"configSpecificAppEnabled": true,
"jitRequestMode": "2",
"addedRules": [
{
"appRuleType": 2,
"verifiedAppRepoIDs": [
700
]
}
]
}
Whether the operation completed successfully (true=success, false=failure)
Unauthorized error code: credentials missing, expired, or invalid
Authentication failure reason
Internal error code: INTERNAL_ERROR when exception occurs updating privilege app group
Detailed message: Error Occurred while add or update privilege app group
Privilege application group updated successfully
{
"status": true
}
Authentication credentials missing or invalid
{
"errorMessage": "Authentication credentials are missing or invalid",
"errorCode": "UNAUTHORIZED"
}
Internal error while updating privilege app group
{
"errorMessage": "Error Occurred while add or update privilege app group",
"errorCode": "INTERNAL_ERROR"
}
![]()
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.