Get All UserIDs or GroupIDs

Is there a way via the Console(tql or linux commands) or the Swagger APIs that I can get a list of all UserIDs or GroupIDs in the system? I am trying to update all users in the system to change the email addresses but I have no way to select the full user to send back to the POST /session/user/update API to update the email.

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • I was able to figure this out using the REST API with the following calls:

    Get all users -

    metadata/list?type=USER&offset=-1&batchsize=-1&showhidden=true

    Get the content for the user -

    metadata/details

    Update the user if the email is blank –

    session/user/update

    Reply Like 1
  • have you seen this repository on git? https://github.com/thoughtspot/user_tools

    Reply Like 1
Like Follow
  • Status Answered
  • 1 mth agoLast active
  • 2Replies
  • 14Views
  • 2 Following