You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello there, @ksa !
Since GDPR struck, many changes were needed to make our environment compliant with it. One of those changes includes the privacy of user-related information, such as names and emails.
Currently, I believe that the fastest way to acquire such userIDs is by exporting the user list of your instance. This procedure is explained here:
If your users are from the same domain or from a multitude of domains of which you happen to have access, you could verify those in your Organization side. Here is how you verify them:
After the domains are verified (if you needed to verify them), we can use our REST API endpoints to get the necessary user info. Here is more information on the tooling to do this:
I hope this clears the skies for you a little bit, Kasia! Looking forward to your reply.
To follow-up to resolve the confusion, if you're able to get a 200 and valid response from the endpoint then chances are the Org you're requesting against does not have managed users or a verified domain. More on this may be found at Organizations REST API - Get users in an organization returns an empty list.
To verify your domain and thus manage your accounts, please follow Verify a domain to manage accounts.
Hello Kasia, and welcome to the Community!
We appreciate you reaching out in regards to the API changes which return account ID where they used to return username. The information you’re referring to can be found within the deprecation notice which is located at Deprecation notice and migration guide for major changes to Confluence Cloud REST APIs to improve user privacy.
If you want to return to a users User ID then we would suggest using the following endpoints to get a users User ID / Account ID:
The first endpoint will allow you to return a user with their account ID. From there, you will pass said account ID over to the second endpoint, which will allow you to return the users User ID then.
I hope this information proves helpful and you’re able to access the user information you need via the REST API.