Configures a new privilege elevation application group

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Creates the privilege application group and populates it with applications that standard users may elevate. Prefetch vendorID or productVendorID from Get App Rule Types and supply them as verifiedAppRepoIDs in addedRules.

Request URL

https://{serverurl}/dcapi/appctrl/privilegeAppGroup

Scope

DesktopCentralCloud.AppControl.CREATECopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

Content-TypestringMandatory
application/addUpdatePrivilegeAppGroup.v1+jsonapplication/addUpdatePrivilegeAppGroup.v1+jsonCopied!
AcceptstringMandatory
application/addUpdatePrivilegeAppGroup.v1+jsonapplication/addUpdatePrivilegeAppGroup.v1+jsonCopied!

- Request Body

application/json
JSON Object
Hide Sub-Attributes
jitRequestModestringMandatory

JIT request mode (0=Disabled, 1=Enabled, 2=Approval Required)

configSpecificAppEnabledbooleanMandatory

Whether config-specific app elevation is enabled

appGroupTypeintegerMandatory

Type of application group (3=Privilege)

addedRulesJSON ArrayMandatory

Rules to add

Show Sub-Attributes
JSON Object
Show Sub-Attributes
appRuleTypelongMandatory

Rule type (1=Vendor, 2=Product, 3=Executable, 4=FileHash)

verifiedAppRepoIDsarrayOptional

Verified repository IDs (vendorID or productVendorID) — prefetch from Get Child Process Types (Omit this parameter if you are not adding any verified IDs.)

unVerifiedAppRepoIDsarrayOptional

Unverified repository IDs - prefetch from Get Child Process Types (Omit this parameter if you are not adding any unverified IDs.)

removedRulesarrayMandatory

Empty Array For Creation

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
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":[],"appGroupType":3,"configSpecificAppEnabled":true,"jitRequestMode":"1","addedRules":[{"appRuleType":1}]}'

Sample Request Body

Create a privilege group with specific vendor-based apps for elevation

Copied!
  {
    "removedRules": [],
    "appGroupType": 3,
    "configSpecificAppEnabled": true,
    "jitRequestMode": "1",
    "addedRules": [
      {
        "appRuleType": 1,
        "verifiedAppRepoIDs": [
          610,
          611
        ]
      }
    ]
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
statusboolean

Whether the operation completed successfully (true=success, false=failure)

- HTTP code 401

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodelong

Unauthorized error code: credentials missing, expired, or invalid

errorMsgstring

Authentication failure reason

- HTTP code 500

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodestring

Internal error code: INTERNAL_ERROR when exception occurs creating privilege app group

errorMessagestring

Detailed message: Error Occurred while add or update privilege app group

Possible Response Codes

200HTTP code
401HTTP code
500HTTP code

Sample Response: HTTP 200

Privilege application group created successfully

Copied!
  {
    "status": true
  }
                
Show full

Sample Response: HTTP 401

Authentication credentials missing or invalid

Copied!
  {
    "errorMessage": "Authentication credentials are missing or invalid",
    "errorCode": "UNAUTHORIZED"
  }
                
Show full

Sample Response: HTTP 500

Internal error while creating privilege app group

Copied!
  {
    "errorMessage": "Error Occurred while add or update privilege app group",
    "errorCode": "INTERNAL_ERROR"
  }
                
Show full

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.