Device

Update an existing device

Changed on

Update an existing device language, location, timeZoneOffset, country or capabilities

put/device/{deviceID}

Request

Path parameters

deviceIDstring required

The unique identifier for your device.

Request body

allowedUIboolean

Device has visible notifications enabled

backgroundAppRefreshboolean

Device has background refresh enabled (iOS only)

bluetoothEnabledboolean

Device has bluetooth enabled

locationServicesAuthStatus'none' | 'use' | 'always'

Device has location permissions granted

locationServicesAccuracyAuth'full' | 'reduced'

Device has location accuracy granted

languagestring
locationAccuracynumber
altitudenumber
coursenumber
speednumber
timeZoneOffsetnumber

Example request

{
  "language": "nl",
  "location": {
    "coordinates": [
      4.23456,
      52.184884
    ]
  },
  "locationAccuracy": 15.731,
  "altitude": 100,
  "course": 90,
  "speed": 10,
  "timeZoneOffset": -5
}

Response

OK

messagestring required

Changes

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      added the new optional request property

    • info

      added the new optional request property