# Returns deployment group records Returns group records used in deployment workflows. Supports pagination and search. ## Endpoints **GET** `/dcapi/assets/dcmgroups` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/assets/dcmgroups` ### Scope `DeviceControl.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Content-Type** (`string`, Mandatory): `application/json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/assets/dcmgroups \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' ``` ## Response Parameters ### HTTP 200 Response Body — `application/json` - `JSON object` - **dcmgroups** (`JSON array`): List of deployment group records ### HTTP 500 Response Body — `application/json` - `JSON object` - **errorCode** (`string`): Error code identifying the type of error - **errorMsg** (`string`): Human-readable error message ### Possible Response Codes - **200** — HTTP code - **500** — HTTP code ### Sample Response: HTTP 200 DCM groups response ```json { "dcmgroups": [ { "groupName": "All Devices", "domain": "ZOHOCORP", "id": "1", "cgCategory": 1, "isTargetComputable": true } ] } ``` ### Sample Response: HTTP 500 Internal server error ```json { "errorCode": "INTERNAL_ERROR", "errorMsg": "Internal Server Error!" } ``` ## Rate Limit ![help](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 50 | **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.