# 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. ## Endpoints GET `/dcapi/tools/complianceSetting` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/tools/complianceSetting` ### Scope `Tools.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/tools/complianceSetting \ --header 'Authorization: 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 } ```