Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to get all users list using Confluence Cloud REST API?

Is there a way to get all users list using confluence Cloud REST API?

https://developer.atlassian.com/cloud/confluence/rest/ 

2 answers

1 accepted

1 vote
Answer accepted

Hi @Evangelos Mantadakis,

Yes it is possible. 

  1. Start with a list of all groups in Confluence
  2. Loop through each group, making a request to Get group members
    /wiki/rest/api/group/{groupName}/member
  3. Save each result to a file and add a condition in the script that doesn't add the same user to the list again.

Hi.

 

I've got too many groups with this endpoint (including Jira groups).

 

So it is not clear how to get the Confluence related groups.

 

Would be nice to have an endpoint which can return all users

Hello @Evangelos Mantadakis / @Move Work Forward ,

Do you know of any other efficient way to get Confluence Users List via rest API other than iterating through all the groups and its members ?

Thanks,

Sheff

Hi @Shefali Grover ,

 

Sorry for the delayed response. I am not aware of any other way .

As far as I know, There is no other way of doing it using rest API.

I found another way @Shefali Grover ,

 

https://developer.atlassian.com/cloud/confluence/rest/#api-api-search-user-get

 

It is also returns App users and other garbage :( 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

What's New in Confluence Cloud – July 2020 Edition

Here’s another edition of “What’s New” this month in Confluence Cloud. Quickly (and more easily) adjust permission settings We know that sometimes the layers of space permissions and page restric...

18,580 views 22 80
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you