# Retrieves the compliance settings controlling access to restricted system manager tools Returns the compliance configuration for system manager tools, including the enabled or disabled status for Command Prompt, File Manager, and Computer Rename tools. ## Endpoint `GET /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.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/tools/complianceSetting \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json JSON Object: - **commandPrompt** `integer`: Command Prompt compliance level: 0=Disabled, 1=Enabled, 2=Prompt, 3=Block - **fileManager** `integer`: File Manager compliance level: 0=Disabled, 1=Enabled, 2=Prompt, 3=Block - **computerRename** `integer`: Computer Rename compliance level: 0=Disabled, 1=Enabled, 2=Block - **fileManagerPromptEnabled** `boolean`: Whether File Manager displays a prompt before access - **cmdPromptPromptEnabled** `boolean`: Whether Command Prompt displays a prompt before access - **isAlwaysPromptEnabled** `boolean`: Whether the prompt is always shown regardless of compliance level - **promptMessage** `string`: Custom message displayed in the compliance prompt dialog - **promptTimeout** `integer`: Auto-dismiss timeout in seconds for the compliance prompt. Range: 10-3600 - **showPage** `boolean`: Whether the compliance settings page is shown in the admin console ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 ```json { "promptTimeout": 30, "fileManager": 1, "showPage": true, "fileManagerPromptEnabled": true, "isAlwaysPromptEnabled": false, "promptMessage": "Please provide a reason for access.", "commandPrompt": 1, "cmdPromptPromptEnabled": false, "computerRename": 0 } ```