allanbunch / beautifulhue

A Python library for the Philips Hue Lighting System API.
Other
92 stars 23 forks source link

Remove user #7

Closed PanderMusubi closed 9 years ago

PanderMusubi commented 9 years ago

How can I remove a user?

Edinunzio commented 9 years ago

@PanderMusubi - https://github.com/allanbunch/beautifulhue#delete-1

Delete bridge user "1234567890"

from beautifulhue.api import Bridge

bridge = Bridge(device={'ip':'192.168.1.14'}, user={'name':'newdeveloper'}) resource = {'user':{"name": "1234567890"}} bridge.config.delete(resource)

@allanbunch - This issue can be closed.

allanbunch commented 9 years ago

Thank you.