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

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

Saquib Fraz January 13, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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.

Chris.Gordon June 17, 2022

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
DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 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.

0 votes
Julien Bonastre May 4, 2022

N/A - Removed

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events