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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
When I used the REST API from the documentation to get the list of users in a Confluence group using group id,I get the following error. What am I missing here?
Twitter conversation on the same issue
Hello Saravana,
Matt from Cloud Support, primary Confluence! I was chatting with some of our social teams and they asked me to take a look at this. I recently went through the process of figuring some of this out myself, so I am happy to share the knowledge where I can!
Based on your description, and the screenshot provided, it looks like you’re trying to:
You won't be able to work with Product groups at the organization level with the Cloud Admin API. The Atlassian management system is arranged similarly to how permissions/restrictions work. Within an Organization, you may have multiple sites, composed of different Atlassian product instances. All of these sites share the organization's user-base, however groups currently are managed at the site level.
- Documentation: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group/#api-wiki-rest-api-group-get
- Documentation: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group/#api-wiki-rest-api-group-groupname-member-get
After following the steps above, we should have gotten a list of groups with self-identifying links we can use in the response body to get a list of the users in the group:
I hope this helps! Please let me know if you have any questions on the information above, or if you're getting stuck somewhere along in the process.
- Matt
----
Officially, basic authentication via the REST API, user@example.com:password has been deprecated. Instead what you will need to do to authenticate is by replacing your account password in the basic auth header with the API Key generated in Reference block [1] above.
Thank you Matt. This was useful & was able to get the list of users using group API's.
If possible could you raise it to the documentation team to update the API documentations .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am glad to hear that, and happy to help! I'll bubble this up to the documentation team and see what we can do.
- Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.