# Configures a new child process group Creates the child process application group and populates it with parent-process rules. ## Endpoint **POST** `/dcapi/appctrl/childProcessGroup` ## Request URL ```text https://{server-hostname}:8383/dcapi/appctrl/childProcessGroup ``` ## Scope ```text AppControl.CREATE ``` ## Header ```text Authorization: d92d4xxxxxxxxxxxxx15f52 ``` ## Request Parameters ### Request Headers - **content-type** (`string`, Optional) ### Request Body `application/json` - `JSON object` - **addedRules** (`JSON array`, Mandatory): Rules to add — prefetch IDs from [Get Child Process Types](https://www.manageengine.com/products/desktop-central/help/api/onpremise/acp-get-child-process-types.html) - **removedRules** (`array`, Mandatory): Rules to remove (empty array for creation) ## Sample Request ```curl curl --request POST \ --url https://appdomain/dcapi/appctrl/childProcessGroup \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: SOME_STRING_VALUE' \ --data '{"removedRules":[],"addedRules":[{"appRuleType":1,"verifiedAppRepoIDs":[620,621]}]}' ``` ## Sample Request Body Create a child process group with vendor-based parent processes ```json { "removedRules": [], "addedRules": [ { "appRuleType": 1, "verifiedAppRepoIDs": [ 620, 621 ] } ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `JSON object` - **applicationRules** (`JSON array`): Array of newly added application rules with generated IDs - **status** (`string`): Operation status (success) ### HTTP Code 401 Response Body — `application/json` - `JSON object` - **errorCode** (`long`): Unauthorized error code returned when authentication credentials are missing, expired, or invalid (authentication=required) - **errorMsg** (`string`): Authentication failure reason ### HTTP Code 500 Response Body — `application/json` - `JSON object` - **errorCode** (`string`): Internal error code: INTERNAL_ERROR when exception occurs creating child process group - **errorMessage** (`string`): Detailed message: Error Occurred while add or update Child process app group ## Possible Response Codes - **200** (`HTTP code`) - **401** (`HTTP code`) - **500** (`HTTP code`) ## Sample Response: HTTP 200 Child process group created with new rules ```json { "applicationRules": [ { "appRuleType": 2, "trustedUpdater": 0, "ruleDetails": { "appRuleID": "304", "isVerified": 1, "productVendorID": "358" }, "appRuleName": "" } ], "status": "success" } ``` ## Sample Response: HTTP 401 Authentication credentials missing or invalid ```json { "errorMessage": "Authentication credentials are missing or invalid", "errorCode": "UNAUTHORIZED" } ``` ## Sample Response: HTTP 500 Internal error while creating child process group ```json { "errorMessage": "Error Occurred while add or update Child process app group", "errorCode": "INTERNAL_ERROR" } ``` ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.