Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't delete user #15

Open
pzim-devdata opened this issue May 20, 2022 · 2 comments
Open

Can't delete user #15

pzim-devdata opened this issue May 20, 2022 · 2 comments

Comments

@pzim-devdata
Copy link

Hello,
Thank you for your API.
I'm trying to delete users and I have the following message :

hueadm -H 192.168.1.XXX -U XXXXXXXXXXXXXXXX-XCXXXXXXXXXXXXX delete-user xxxxxxxx-xxxxxxxx-xxxxx-xxxx-xxxxxxxx
-
    error: {type: 1, address: /config/whitelist, description: 'unauthorized user'}

error: Error: unauthorized user
    at /usr/local/lib/node_modules/hueadm/lib/common.js:339:29
    at Array.forEach (<anonymous>)
    at finish (/usr/local/lib/node_modules/hueadm/lib/common.js:332:20)
    at /usr/local/lib/node_modules/hueadm/node_modules/hue-sdk/lib/hue.js:40:5
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/hueadm/node_modules/hue-sdk/lib/request.js:24:7)
    at IncomingMessage.emit (events.js:326:22)
    at endReadableNT (_stream_readable.js:1241:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  type: 1,
  address: '/config/whitelist',
  _cmdlnInst: [CLI],
  _cmdlnSubcmd: 'delete-user',
  _cmdlnHandler: [Function]
}

I have tried this with two differents hue bridges and two differents users and I have always the same message.

Could you help me please ?

Thanks

@pzim-devdata
Copy link
Author

I think it's because we can only delete hueadm users ? Can't we delete other users ?

@inverse
Copy link

inverse commented Jan 24, 2023

Looks like that has to be done via https://account.meethue.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants