v1

latestOpenAPI 3.0.12026-07-2487135176.5 KB
Devices

Update a Device

Update a device within the specified account.

put/public/v3/Devices/{deviceId}

Path parameters

deviceIdstring required

ID of the device. This can be either the deviceID or deviceName.

Headers

x-tive-account-idinteger required

ID of the account the request will be made in.

Request body

descriptionstring nullable

Description of what the device is used for.

powerButtonEnabledboolean required

Determines whether a device can be fully shut off or not.

gpsEnabledboolean required

Enable or disable GPS.

wifiEnabledboolean required

Enable or disable wifi.

measurementIntervalinteger required

Determines how frequently the device sensors are taking measurements. Values are in minutes and can be 5, 10, 20, 30, 60, 120, 240, 360, 720, 1080, or 1440. Default value is 20. Click <a href="https://developers.tive.com/docs/devices#transmission-and-measurement-intervals">here</a> for more on measurements intervals.

transmissionIntervalinteger required

Determines how frequently the device transmits data. Values are in minutes and can be 5, 10, 20, 30, 60, 120, 240, 360, 720, 1080, or 1440. Default value is 20.

startupDelayinteger nullable

Tracker will wait for the specified delay before starting to measure and transmit (Solo Pro only)

Response

The device has been updated