Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to export users from site using API in atlassian cloud?

ayushi May 27, 2020

I want to export users automatically by using API.

So that I am able to know the inactive users in the site.

I want to know if there is any API available for the same.

 

1 answer

0 votes
Jimmy Seddon
Community Champion
May 27, 2020

Hi @ayushi,

I think what you are looking for is the API reference outlined here:

https://developer.atlassian.com/cloud/admin/organization/rest/#api-orgs-orgId-users-get

I hope that helps!

-Jimmy

ayushi May 28, 2020

It is not providing the users that are present in the organization.

I wanted to get the users state that whether they are active or inactive.

Jimmy Seddon
Community Champion
May 28, 2020

Hey @ayushi,

Let's try a different approach to this, if you can't get it from the top level organization, what about trying from Jira (assuming you are using Jira, if not you should be able to find something similar the other Atlassian CLoud products).

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

The get all users API call claims it will return both active and inactive users so that should give you the information you are trying to aquire.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events