# Retrieve Deployment Policies Retrieves the list of configured deployment policies. ## Endpoint **GET** `/dcapi/patch/reports/deploymentPolicies` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/patch/reports/deploymentPolicies` ### Scope `PatchMgmt.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/patch/reports/deploymentPolicies \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 **Response Body:** `application/json` **JSON Object** - **data** `array`: Array of report-specific data records - **total** `string`: Total number of records - **page** `string`: Current page number - **pageLimit** `string`: Records per page ### HTTP Code 500 **Response Body:** `application/json` **JSON Object** - **error_code** `string`: Error code: INTERNAL_ERROR for server-side failures - **error_description** `string`: Localized error description: dc.rest.api_internal_error ### Possible Response Codes - **200**: HTTP code - **500**: HTTP code ### Sample Response: HTTP 200 Deployment policies report ```json { "total": 6, "pageLimit": 25, "data": [ { "rebootPolicy": "Skip Reboot", "policyId": 201, "policyName": "Default Deployment Policy", "createdBy": "admin", "deploymentWindow": "Maintenance Window", "retryCount": 3, "associatedConfigs": 5 } ], "page": 1 } ``` ### Sample Response: HTTP 500 Server-side error ```json { "error_description": "dc.rest.api_internal_error", "error_code": "INTERNAL_ERROR" } ``` ## API Rate Limit ![](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.