# Returns device audit settings Returns the device/file audit configuration for a specific customer. ## Endpoint `GET /dcapi/device/auditsettings/{customerID}` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/device/auditsettings/{customerID}` ## Scope `DesktopCentralCloud.DeviceControl.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` **Mandatory**: `application/json` ### Path Parameters - **customerID** `string` **Mandatory**: Customer identifier for audit settings ## Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/device/auditsettings/{customerID} \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' ``` ## Response Parameters ### HTTP code 200 Response Body — `application/json` - `JSON Object` - **auditsetting** `JSON Object`: Audit settings configuration ### HTTP code 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 Audit settings response ```json { "auditsetting": { "fileShadowReportEnabled": true, "deviceReportEnabled": true, "fileReportEnabled": true, "daysToRetainFileShadowReport": 60, "daysToRetainDevice": 120, "archieveEnabled": true, "mailTemplate": "", "selectedDeviceTypes": [ "1", "2", "3" ], "fileOperations": [ 1, 2, 3, 4 ], "daysToRetainArchivedFiles": 60, "customerID": "1", "daysToRetainFile": 90, "archievePath": "C:\\Archive" } } ``` ## Sample Response: HTTP 500 Internal server error ```json { "errorCode": "INTERNAL_ERROR", "errorMsg": "Internal Server 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.