Devices

Update desired device configuration

PUT
/workspaces/{workspaceId}/devices/{deviceId}/configuration/desired

Authorization

API key Devices: write
AuthorizationBearer <token>

API key (sf_...) with any of the required scopes. Generate it in the Spotflow portal on the settings page.

In: header

Scope: Devices: write

Path Parameters

workspaceId*string
Formatuuid
deviceId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

logSeverity?null||

Response Body

application/problem+json

curl -X PUT "https://example.com/workspaces/00000000-0000-0000-0000-000000000001/devices/thermostat-0042/configuration/desired" \  -H "Content-Type: application/json" \  -d '{    "logSeverity": "Warning"  }'
Empty