Retrieve privacy settings for a managed device

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

gets the device's privacy settings

Request URL

https://{server-hostname}:8383/api/v1/mdm/devices/{device_id}/privacy

Scope

MDMInventory.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Path Parameters

device_idstringMandatory

Unique identifier of the device. Obtain from the Get Device List response

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
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
Hide Sub-Attributes
fetch_locationinteger

Location fetching: 0 - Enabled, 1 - User controlled, 2 - Disabled

view_privacy_settingsboolean

Whether privacy settings are visible to the user

disable_wipeinteger

Device wipe control: 0 - Enabled, 1 - User controlled, 2 - Disabled

fetch_device_nameinteger

Device name fetching: 0 - Enabled, 1 - User controlled, 2 - Disabled

fetch_installed_appinteger

Installed app fetching: 0 - Enabled, 1 - User controlled, 2 - Disabled

disable_bug_reportinteger

Bug report control: 1 - User controlled, 2 - Disabled

applicable_forarray

Array of applicable ownership types: 1 - Corporate, 2 - Personal

disable_remote_controlinteger

Remote control: 0 - Enabled, 1 - User controlled, 2 - Disabled

fetch_phone_numberinteger

Phone number fetching: 0 - Enabled, 1 - User controlled, 2 - Disabled

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Device privacy settings

Copied!
  {
    "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
  }
                
Show full

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.