HubDevices
Update Device Record For Hub Device
Changed onUpdates a hub device record (Widget Backed)
patch/hubdevices/{hubDeviceId}/childdevice/{deviceId}
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesw:devices:*, mobile
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
hubDeviceIdstring ^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$ required
The Hub's Device ID. This is sometimes referred to as the Hub UUID or HubId
deviceIdstring required
The Device ID
Query parameters
forceUpdateboolean
A flag that is used to indicate that the driver and profile should be updated even if the fingerprinting process fails. Additionally, forceUpdate is required when a new device integration profile key is provided in the request payload.
Headers
Authorizationstring string required
OAuth token
Request body
Example request
{
"driverId": "6d7bf35a-bb57-4b1f-945a-63ff72bfbef3"
}Response
Successful creation of resource with no-content to return
Changes
- info
added the new optional
queryrequest parameterforceUpdate
- info
- info
endpoint added
- info