Updates an existing device/file audit configuration by customer identifier.
put /dcapi/device/auditsettings/{customerID}
https://{server-hostname}:8383/dcapi/device/auditsettings/{customerID}
DeviceControl.UPDATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Customer identifier for audit settings
Audit settings object containing configuration
Whether device audit reporting is enabled
Number of days to retain device audit data
Whether file audit reporting is enabled
Number of days to retain file audit data
Whether file shadow reporting is enabled
Number of days to retain file shadow report data
Whether archiving is enabled
Number of days to retain archived files
File system path for archived files
File operation type IDs to audit
Device type IDs to audit. Fetch from Get Supported Devices
curl --request PUT \
--url https://appdomain/dcapi/device/auditsettings/{customerID} \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"auditsetting":{"fileShadowReportEnabled":true,"selectedDeviceTypes":["1","2","3"],"fileOperations":[1,2,3,4],"deviceReportEnabled":true,"fileReportEnabled":true,"daysToRetainFileShadowReport":60,"daysToRetainArchivedFiles":60,"daysToRetainFile":90,"archievePath":"C:\\Archive","daysToRetainDevice":120,"archieveEnabled":true}}'Update audit settings
{
"auditsetting": {
"fileShadowReportEnabled": true,
"selectedDeviceTypes": [
"1",
"2",
"3"
],
"fileOperations": [
1,
2,
3,
4
],
"deviceReportEnabled": true,
"fileReportEnabled": true,
"daysToRetainFileShadowReport": 60,
"daysToRetainArchivedFiles": 60,
"daysToRetainFile": 90,
"archievePath": "C:\\Archive",
"daysToRetainDevice": 120,
"archieveEnabled": true
}
}
Audit settings identifier
Error code identifying the type of error
Human-readable error message
Error code identifying the type of error
Human-readable error message
Audit settings update response
{
"id": 1
}
Bad request - invalid input or sensitive path
{
"errorCode": "INCORRECT_REQUEST_DATA",
"errorMsg": "Invalid audit settings data"
}
Internal server error
{
"errorCode": "INTERNAL_ERROR",
"errorMsg": "Internal Server Error!"
}
![]()
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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.