The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Is there any way to get all user/accountIds from an API

Matías Völgyi
Contributor
July 18, 2024

I'm still trying to create an automation that allows me to unlicense users that does not use Jira Cloud for a given time, but I'm unable to find an endpoint that allow me to get all my managed users, so I can process/ check against this endpoint 

 

Is there any way of accomplish this that's not getting the CSV from the admin UI?

1 comment

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

Jim Knepley - ReleaseTEAM
Atlassian Partner
July 18, 2024

I think you're looking for the "Get managed accounts in an organization" call.

It looks like the response is paginated, so you'll need to manage that. Thankfully, the "links.next" attribute is easy to use.

Like # people like this
Matías Völgyi
Contributor
July 19, 2024

oh! you saved me there! thank you very much! 

Like Dave Rosenlund _Trundl_ likes this
TAGS
AUG Leaders

Atlassian Community Events