# Retrieve privacy settings for a managed device gets the device's privacy settings ## Endpoint `GET /api/v1/mdm/devices/{device_id}/privacy` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/devices/{device_id}/privacy` ## Scope `MDMInventory.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** (`string`, Mandatory): `application/json` ### Path Parameters - **device_id** (`string`, Mandatory): Unique identifier of the device. Obtain from the [Get Device List](https://www.manageengine.com/products/desktop-central/help/api/onpremise/devices-get-device-list.html) response. ## Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/devices/{device_id}/privacy \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body: `application/json` `JSON Object` - **fetch_location** (`integer`): Location fetching: 0 - Enabled, 1 - User controlled, 2 - Disabled - **view_privacy_settings** (`boolean`): Whether privacy settings are visible to the user - **disable_wipe** (`integer`): Device wipe control: 0 - Enabled, 1 - User controlled, 2 - Disabled - **fetch_device_name** (`integer`): Device name fetching: 0 - Enabled, 1 - User controlled, 2 - Disabled - **fetch_installed_app** (`integer`): Installed app fetching: 0 - Enabled, 1 - User controlled, 2 - Disabled - **disable_bug_report** (`integer`): Bug report control: 1 - User controlled, 2 - Disabled - **applicable_for** (`array`): Array of applicable ownership types: 1 - Corporate, 2 - Personal - **disable_remote_control** (`integer`): Remote control: 0 - Enabled, 1 - User controlled, 2 - Disabled - **fetch_phone_number** (`integer`): Phone number fetching: 0 - Enabled, 1 - User controlled, 2 - Disabled ## Possible Response Codes - **200**: HTTP code ## Sample Response: HTTP 200 Device privacy settings ```json { "fetch_location": 0, "view_privacy_settings": true, "disable_wipe": 0, "fetch_device_name": 0, "fetch_installed_app": 0, "disable_bug_report": 2, "applicable_for": [ 1, 2 ], "disable_remote_control": 1, "fetch_phone_number": 0 } ``` ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 250 | **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.