lx_PUT {lifx} | R Documentation |
PUT request
Description
PUT request
Usage
lx_PUT(selector = "all", endpoint, token, ...)
Arguments
selector |
'LIFX' api "selector" such as "all", "id:12345", or "location:kitchen". Can be created with |
endpoint |
the API endpoint to call; basically the last part of the API url after the light selector |
token |
API token (see ?lx_save_token). If left empty, the token is retrieved from the environmental variable if available. (see |
... |
named values to add to the request body |
Value
an 'httr' response object (see response
)
[Package lifx version 0.2.0 Index]