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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.