cURL
curl --request POST \ --url https://api.example.com/v1/devices/hvac/{id}/linked \ --header 'Content-Type: application/json' \ --header 'x-ws-api-key: <api-key>' \ --data '{ "linked": true }'
{ "deviceId": "<string>", "systemDetails": "<string>", "lastSetPointSchedule": "<unknown>", "lastOptimizationRunData": "<unknown>", "deleted": true, "targetCoolSetpoint": 123, "targetHeatSetpoint": 123, "maxTemp": 123, "minTemp": 123, "currentTemp": 123, "coolingRate": 123, "heatingRate": 123, "heatTransferCoefficient": 123, "irradianceCoefficient": 123, "thermodynamicValuesUpdatedAt": null }
Documentation IndexFetch the complete documentation index at: https://docs.wattshift.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.wattshift.com/llms.txt
Use this file to discover all available pages before exploring further.
WattShift API Key
This is to check if the device is linked to user