# Updates compliance settings that control access to restricted system manager tools Saves the updated compliance settings for system manager tools. Accepts a JSON body specifying the enabled or disabled state for Command Prompt, File Manager, and Computer Rename operations. **Endpoint:** `PUT /dcapi/tools/complianceSetting` ## Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/tools/complianceSetting ## Scope `DesktopCentralCloud.Tools.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers | Parameter | Type | Required | Value | |---|---|---|---| | Accept | string | Mandatory | `application/savedComplianceSettingsDetails.v1+json` | | Content-Type | string | Mandatory | `application/toolsComplianceSettingsDetails.v1+json` | ### Request Body `application/json` | Parameter | Type | Required | |---|---|---| | fileManager | integer | Optional | | commandPrompt | integer | Optional | | computerRename | integer | Optional | | fileManagerPromptEnabled | boolean | Optional | | cmdPromptPromptEnabled | boolean | Optional | | isAlwaysPromptEnabled | boolean | Optional | | promptMessage | string | Optional | | promptTimeout | integer | Optional | | showPage | boolean | Optional | ## Sample Request ```curl curl --request PUT \ --url https://appdomains/dcapi/tools/complianceSetting \ --header 'Accept: application/savedComplianceSettingsDetails.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/toolsComplianceSettingsDetails.v1+json' \ --data '{}' ``` ## Sample Request Body ```json { "promptTimeout": 60, "fileManager": 2, "showPage": true, "fileManagerPromptEnabled": true, "isAlwaysPromptEnabled": false, "promptMessage": "State reason for accessing this tool.", "commandPrompt": 1, "cmdPromptPromptEnabled": true, "computerRename": 0 } ``` ## Response Parameters ### HTTP Code 200 **Response Body:** `application/json` | Parameter | Type | Description | |---|---|---| | status | string | Result of the operation: success or failure | ## Possible Response Codes | Code | Type | |---|---| | 200 | HTTP code | ## Sample Response: HTTP 200 ```json { "status": "success" } ```