-
Notifications
You must be signed in to change notification settings - Fork 9
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
impt device list -u
doesn't work for collaborator devices
#64
Comments
Thanks for finding this. I'll look into it. |
Currently it is not possible because impCentral REST API (list devices: GET /devices request - with and without owner filter) does not return unassigned devices for collaborator accounts. |
They show up on the impCentral GUI so they are in there somewhere... |
Maybe there is a non-public request/parameters... as happens for UI sometimes. |
I have just confirmed that the impCentral API request that filters on collaborator account only returns assigned devices. Talking with CTS team here and they are looking into a fix for this. I have found a slightly modified impCentral API request that will combine filters and return only unassigned devices for a collaborators devices. This is how the UI is working, but I have confirmed this is different to how impt is working. |
This will be a usage of a non-official / non-documented REST API specifics. Do we really want to use it? |
I am trying to get a list of unassigned devices on an account that I have
Administrator
collaborator access to. If I runimpt device list -u
I get no devices.Likewise, if I run
impt device list -u -o {{OWNER_GUID}}
I get no devices.On the collaborating account,
impt device list -u
works as expected.The text was updated successfully, but these errors were encountered: