Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,350
Community Members
 
Community Events
165
Community Groups

How do I get a list of all active Confluence users through the Rest API?

Hi I want to list all active users in confluence, I'm getting the count of active users with a limit of 200 max, Is there any way to increase that limit? Even if I increase the limit in the api the result is same with size=200. Please let me know how can I increase the limit.

https://myIP/confluence/rest/api/group/Confluence_users/member?limit=400 

3 answers

2 accepted

1 vote
Answer accepted
Veera Atlassian Team Jan 14, 2020

@Saquib Fraz 

You need use pagination to get all the users due to default max limit is 200. Below REST call gives you first 100 users from Conflunce_users group. 

https://hostname.atlassian.net/wiki/rest/api/group/Confluence-users/member?start=1&limit=100 

 In the next run, change the start position to 101 which will give you next 100 users.

This is correct, but the `start` value should begin a 0, not 1 to get all the values. Starting at 1 will skip the first element.

0 votes
Answer accepted
DPK J Community Leader Jan 14, 2020

@Saquib Fraz  I am afraid '200' is max system limit set for this API. API won't honor any limit greater than 200.

To fetch all users, you need to use `start` query parameter, and do paginated (multiple) request.

Suggest an answer

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

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

1,022 views 18 28
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