Sign in

Clean

documented

Apply the cleaning routine to clean-capable LIFX devices.

POST /v1/lights/{selector}/cleanLightsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.lifx.com/v1/lights/{{$selector}}/clean" \
  -X POST \
  -H "Authorization: Bearer {{LIFX_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{\"duration\": {{$duration}}}'