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

Atlassian Admin API not returning list of Users in Postman

I am trying to use the Admin REST API to get a list of users, so that I don't have to go in and manually check them to see if they have enabled Multi Factor Authentication.

As stated here, I am first trying to get a list of users.

I have generated an API Key, and in Postman added it as a Bearer Token and with this URL:  I get a response, but there is no data:  https://api.atlassian.com/admin/v1/orgs/{orgId}/users

Response is: 

{
    "data": [],
    "links": {
    }
}

1 answer

1 accepted

0 votes
Answer accepted
Pramodh M Community Leader Jan 05, 2022

Hi @Rebecca Hopper 

Use the below API to get the Users list

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-users-search-get

Use the normal account token, you will get the user's list

curl --request GET \ 
--url 'https://your-domain.atlassian.net/rest/api/3/users/search' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'

You can add the parameters - startAt and maxResults to paginate if you have more number of users

Thanks,
Pramodh

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

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