putData
inline suspend fun <REQUEST, RESPONSE> HueHttpClient.putData(body: REQUEST, vararg pathSegments: String): RESPONSE
Make a PUT request to the hue bridge.
Parameters
body
Request data to be encoded and send to the endpoint
pathSegments
A list of strings to url encode and use as the path.
Throws
if the response body is unable to be decoded.
if the client has not been configured with a hostname.
if the client's authentication is invalid.
if an error occurs while communicating with the API.