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

Comment

Log in or Sign up to comment
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