v26

latestOpenAPI 3.0.0raw.githubusercontent.com2023-06-09375890.9 KB
Device

Update an existing device

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

put/device/{deviceID}

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